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)
Available in Sandboxed Solutions: No
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
other
Type: Microsoft.SharePoint.WebPartPages.WebPartAdder.SelectorThe specified selector to match the current WebPartAdder.Selector.
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.