Share via


TransactionPropertyCollection.Contains Method

Determines whether the collection contains a specific property.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim instance As TransactionPropertyCollection
Dim propertyName As String
Dim returnValue As Boolean

returnValue = instance.Contains(propertyName)

Syntax

'Declaration
Public MustOverride Function Contains ( _
    propertyName As String _
) As Boolean
public abstract bool Contains (
    string propertyName
)
public:
virtual bool Contains (
    String^ propertyName
) abstract
public abstract boolean Contains (
    String propertyName
)
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

Reference

TransactionPropertyCollection Class
TransactionPropertyCollection Members
Microsoft.MetadirectoryServices Namespace
TransactionPropertyCollection Class