Contains Method (PSObjects)
In This Topic
Gets whether an element is in the collection.
Syntax
'Declaration
Public Overridable Function Contains( _
ByVal As Object _
) As Boolean
'Usage
Dim instance As PSObjects
Dim element As Object
Dim value As Boolean
value = instance.Contains(element)
public virtual bool Contains(
object
)
Parameters
- element
- Element object
See Also