WebPartAdder.Selector.PositivelyMatches method
Determina se o atual WebPartAdder.Selector positivamente coincide com o especificado WebPartAdder.Selector.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaração
Public Function PositivelyMatches ( _
other As WebPartAdder.Selector _
) As Boolean
'Uso
Dim instance As WebPartAdder.Selector
Dim other As WebPartAdder.Selector
Dim returnValue As Boolean
returnValue = instance.PositivelyMatches(other)
public bool PositivelyMatches(
WebPartAdder.Selector other
)
Parâmetros
other
Type: Microsoft.SharePoint.WebPartPages.WebPartAdder.SelectorSeletor de especificado para coincidir com a atual WebPartAdder.Selector.
Valor retornado
Type: System.Boolean
true se o atual WebPartAdder.Selector positivamente coincide com outros; Caso contrário, false.
Comentários
Um WebPartAdder.Selector A positivamente corresponde a um WebPartAdder.Selector B se elas coincidem com as condições a seguintes:!B.Negated & & A.Major = = B.Major & & (A.Minor = = null | | A.Minor = = B.Minor).