WebPartAdder.Selector.NegativelyMatches method
判斷目前的WebPartAdder.Selector是否負面符合指定的WebPartAdder.Selector。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Function NegativelyMatches ( _
other As WebPartAdder.Selector _
) As Boolean
'用途
Dim instance As WebPartAdder.Selector
Dim other As WebPartAdder.Selector
Dim returnValue As Boolean
returnValue = instance.NegativelyMatches(other)
public bool NegativelyMatches(
WebPartAdder.Selector other
)
參數
other
Type: Microsoft.SharePoint.WebPartPages.WebPartAdder.Selector指定選取器以符合目前的WebPartAdder.Selector。
傳回值
Type: System.Boolean
true如果目前的WebPartAdder.Selector物件負面符合其他;否則, false。
備註
WebPartAdder.Selector A 負面符合WebPartAdder.Selector B,如果 A 就會失效並且 A 確實符合 b。這個方法會呼叫PositivelyMatches(WebPartAdder.Selector)方法,以判斷指定的WebPartAdder.Selector是否確實符合目前的WebPartAdder.Selector。