Determines whether the collection contains a specific
property.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in
microsoft.metadirectoryservicesex.dll)
Usage
Visual Basic |
Dim instance As TransactionPropertyCollection
Dim propertyName As String
Dim returnValue As Boolean
returnValue = instance.Contains(propertyName)
|
Syntax
Visual Basic |
Public MustOverride Function Contains ( _
propertyName As String _
) As Boolean
|
C# |
public abstract bool Contains (
string propertyName
)
|
C++ |
public:
virtual bool Contains (
String^ propertyName
) abstract
|
J# |
public abstract boolean Contains (
String propertyName
)
|
JScript |
public abstract function Contains (
propertyName : String
) : boolean
|
Parameters
- propertyName
-
Contains the name of the property for which to search. The name
is not case-sensitive.
Return Value
Returns
true if the property that is identified by the
propertyName value exists in the collection, or
false
if the property does not exist in the collection.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also