Share via


WebPartAdder.Selector.NegativelyMatches method

Determines whether the current WebPartAdder.Selector negatively matches the specified WebPartAdder.Selector.

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

Syntax

'Declaration
Public Function NegativelyMatches ( _
    other As WebPartAdder.Selector _
) As Boolean
'Usage
Dim instance As WebPartAdder.Selector
Dim other As WebPartAdder.Selector
Dim returnValue As Boolean

returnValue = instance.NegativelyMatches(other)
public bool NegativelyMatches(
    WebPartAdder.Selector other
)

Parameters

Return value

Type: System.Boolean
true if the current WebPartAdder.Selector object negatively matches other; otherwise, false.

Remarks

A WebPartAdder.Selector A negatively matches a WebPartAdder.Selector B if A is negated and A positively matches B. This method calls the PositivelyMatches(WebPartAdder.Selector) method to determine whether the specified WebPartAdder.Selector positively matches the current WebPartAdder.Selector.

See also

Reference

WebPartAdder.Selector structure

WebPartAdder.Selector members

Microsoft.SharePoint.WebPartPages namespace