Compartilhar via


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

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).

Ver também

Referência

WebPartAdder.Selector structure

WebPartAdder.Selector members

Microsoft.SharePoint.WebPartPages namespace