Edit

Share via


EntityId Constructors

Definition

Initializes a new instance of the EntityId class.

Overloads

EntityId()

Initializes a new instance of the EntityId class.

EntityId(String)

Initializes a new instance of the EntityId class that has the specified ID.

EntityId()

Initializes a new instance of the EntityId class.

public:
 EntityId();
public EntityId ();
Public Sub New ()

Remarks

The Id property is initialized to null in the new instance.

Applies to

EntityId(String)

Initializes a new instance of the EntityId class that has the specified ID.

public:
 EntityId(System::String ^ id);
public EntityId (string id);
new System.IdentityModel.Metadata.EntityId : string -> System.IdentityModel.Metadata.EntityId
Public Sub New (id As String)

Parameters

id
String

The ID with which to initialize the new instance. Initializes the Id property.

Applies to