AnchorAttribute.Create Method

Creates an instance of AnchorAttribute.

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

Usage

'Usage
Dim attributeName As String
Dim value As Object
Dim returnValue As AnchorAttribute

returnValue = AnchorAttribute.Create(attributeName, value)

Syntax

'Declaration
Public Shared Function Create ( _
    attributeName As String, _
    value As Object _
) As AnchorAttribute
public static AnchorAttribute Create (
    string attributeName,
    Object value
)
public:
static AnchorAttribute^ Create (
    String^ attributeName, 
    Object^ value
)
public static AnchorAttribute Create (
    String attributeName, 
    Object value
)
public static function Create (
    attributeName : String, 
    value : Object
) : AnchorAttribute

Parameters

  • attributeName
    The name of the attribute.
  • value
    The value of the attribute.

Return Value

Returns AnchorAttribute.

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

AnchorAttribute Class
AnchorAttribute Members
Microsoft.MetadirectoryServices Namespace