WebPartAdder.Selector.PositivelyMatches Method
Determines whether the current WebPartAdder.Selector positively 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 PositivelyMatches ( _
other As WebPartAdder.Selector _
) As Boolean
'Usage
Dim instance As WebPartAdder.Selector
Dim other As WebPartAdder.Selector
Dim returnValue As Boolean
returnValue = instance.PositivelyMatches(other)
public bool PositivelyMatches(
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 positively matches other; otherwise, false.
Remarks
A WebPartAdder.Selector A positively matches a WebPartAdder.Selector B if they match the following conditions: !B.Negated && A.Major == B.Major && (A.Minor == null || A.Minor == B.Minor).