共用方式為


RectangleD.Equality Operator

Tests whether two RectangleD structures have equal location and size.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Shared Operator = ( _
    left As RectangleD, _
    right As RectangleD _
) As Boolean
public static bool operator ==(
    RectangleD left,
    RectangleD right
)
public:
static bool operator ==(
    RectangleD left, 
    RectangleD right
)
static let inline (=)
        left:RectangleD * 
        right:RectangleD  : bool
JScript does not support overloaded operators.

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

RectangleD Structure

Microsoft.VisualStudio.Modeling.Diagrams Namespace