Partager via


Utils.IsTypeCompatible Method

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

Usage

'Usage
Dim attributeValue As Object
Dim attributeType As AttributeType
Dim returnValue As Boolean

returnValue = Utils.IsTypeCompatible(attributeValue, attributeType)

Syntax

'Declaration
Public Shared Function IsTypeCompatible ( _
    attributeValue As Object, _
    attributeType As AttributeType _
) As Boolean
public static bool IsTypeCompatible (
    Object attributeValue,
    AttributeType attributeType
)
public:
static bool IsTypeCompatible (
    Object^ attributeValue, 
    AttributeType attributeType
)
public static boolean IsTypeCompatible (
    Object attributeValue, 
    AttributeType attributeType
)
public static function IsTypeCompatible (
    attributeValue : Object, 
    attributeType : AttributeType
) : boolean

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

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000

Target Platforms

See Also

Reference

Utils Class
Utils Members
Microsoft.MetadirectoryServices Namespace