Condividi tramite


WebPartAdder.Selector.Equality Operator

Determines whether two WebPartAdder.Selector objects are equal.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Shared Operator = ( _
    a As WebPartAdder.Selector, _
    b As WebPartAdder.Selector _
) As Boolean
'Usage
Dim a As WebPartAdder.Selector
Dim b As WebPartAdder.Selector
Dim returnValue As Boolean

returnValue = (a = b)
public static bool operator ==(
    WebPartAdder.Selector a,
    WebPartAdder.Selector b
)

Parameters

Return Value

Type: System.Boolean
true if the two WebPartAdder.Selector objects are equal; otherwise, false.

Remarks

A WebPartAdder.Selector A is equal to WebPartAdder.Selector B if A’s Negated, Major. and Minor properties are all equal to B’s corresponding properties.

See Also

Reference

WebPartAdder.Selector Structure

WebPartAdder.Selector Members

Microsoft.SharePoint.WebPartPages Namespace