Share via


WebPartAdder.Selector.Equality operator

Determines whether two WebPartAdder.Selector objects are equal.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

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