ConsoleNodeCollection.Contains Method
Returns true if the ConsoleNode object specified by the value parameter 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
- value
Type: Microsoft.SharePoint.Publishing.WebControls.ConsoleNode
The ConsoleNode object to search for in the collection.
Return Value
Type: System.Boolean
A bool.