다음을 통해 공유


ConsoleNodeCollection.Contains Method

Determines if the ConsoleNode object is contained in the collection.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function Contains ( _
    value As ConsoleNode _
) As Boolean
'Usage
Dim instance As ConsoleNodeCollection
Dim value As ConsoleNode
Dim returnValue As Boolean

returnValue = instance.Contains(value)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public bool Contains(
    ConsoleNode value
)

Parameters

Return Value

Type: System.Boolean
true if the ConsoleNode object specified by the value parameter is contained in the collection.

Implements

ICollection<T>.Contains(T)

See Also

Reference

ConsoleNodeCollection Class

ConsoleNodeCollection Members

Microsoft.SharePoint.Publishing.WebControls Namespace