WebPartAdder.Selector.NegativelyMatches-Methode
Bestimmt, ob der aktuelle WebPartAdder.Selector sich negativ auf die angegebene WebPartAdder.Selectorentspricht.
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
)
Parameter
other
Typ: Microsoft.SharePoint.WebPartPages.WebPartAdder.SelectorDie angegebene Auswahl mit der aktuellen WebPartAdder.Selectorübereinstimmt.
Rückgabewert
Typ: System.Boolean
true Wenn das aktuelle Objekt WebPartAdder.Selector sich negativ auf andereübereinstimmt; andernfalls false.
Hinweise
Eine WebPartAdder.Selector A entspricht sich negativ auf eine WebPartAdder.Selector B, wenn eine negiert wird und eine positiv B entspricht. Diese Methode ruft die PositivelyMatches(WebPartAdder.Selector) -Methode, um zu bestimmen, ob die angegebene WebPartAdder.Selector positiv auf der aktuellen WebPartAdder.Selectorübereinstimmt.