LineTransform.Equality Operator
Determines whether two LineTransform objects are the same.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'宣告
Public Shared Operator = ( _
transform1 As LineTransform, _
transform2 As LineTransform _
) As Boolean
public static bool operator ==(
LineTransform transform1,
LineTransform transform2
)
public:
static bool operator ==(
LineTransform transform1,
LineTransform transform2
)
static let inline (=)
transform1:LineTransform *
transform2:LineTransform : bool
JScript does not support overloaded operators.
Parameters
- transform1
Type: Microsoft.VisualStudio.Text.Formatting.LineTransform
The first line transform.
- transform2
Type: Microsoft.VisualStudio.Text.Formatting.LineTransform
The second line transform
Return Value
Type: System.Boolean
true if both line transforms are the same, otherwise false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.