Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

9d183253 e912 8e14 203a 930bc89ced79

haplokuon edited this page May 6, 2023 · 1 revision

CompareTo Method

netDxf 3.0.0 Library

Compares the current object with another object of the same type.

Definition

Namespace: netDxf.Objects
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public int CompareTo(
	MLineStyleElement other
)

VB

Public Function CompareTo ( 
	other As MLineStyleElement
) As Integer

C++

public:
virtual int CompareTo(
	MLineStyleElement^ other
) sealed

F#

abstract CompareTo : 
        other : MLineStyleElement -> int 
override CompareTo : 
        other : MLineStyleElement -> int 

Parameters

  MLineStyleElement
An object to compare with this object.

Return Value

Int32
The MLineStyleElements are ordered from larger to smaller offset values. A 32-bit signed integer that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter. Zero This object is equal to other. Greater than zero This object is greater than other.

Implements

IComparable(T).CompareTo(T)

See Also

Reference

MLineStyleElement Class
netDxf.Objects Namespace

Clone this wiki locally