比較関数のデリゲート

Namespace: fvalgcli
Assembly: fvalgcli (in fvalgcli.dll) Version: 3.1.0.0 (3.1.0.11)

Syntax

C#
public delegate int CompareDelegate(
	IntPtr elem1,
	IntPtr elem2
)
Visual Basic
Public Delegate Function CompareDelegate ( 
	elem1 As IntPtr,
	elem2 As IntPtr
) As Integer

Parameters

elem1
Type: System..::..IntPtr
比較要素1
elem2
Type: System..::..IntPtr
比較要素2

Return Value

Type: Int32
返値は2つの要素の大小関係を表す値を返します。
  • <0: elem1 は elem2 より小さい
  • =0: elem1 は elem2 と等しい
  • >0: elem1 は elem2 より大きい

See Also