Share via


KeyAttribute Constructors

Definition

Overloads

KeyAttribute(String)

Initializes a new instance of the KeyAttribute class.

KeyAttribute(String[])

Initializes a new instance of the KeyAttribute class.

KeyAttribute(String)

Initializes a new instance of the KeyAttribute class.

public KeyAttribute (string keyName);
new Microsoft.OData.Client.KeyAttribute : string -> Microsoft.OData.Client.KeyAttribute
Public Sub New (keyName As String)

Parameters

keyName
String

The string that contains name of the key attribute.

Applies to

KeyAttribute(String[])

Initializes a new instance of the KeyAttribute class.

public KeyAttribute (params string[] keyNames);
new Microsoft.OData.Client.KeyAttribute : string[] -> Microsoft.OData.Client.KeyAttribute
Public Sub New (ParamArray keyNames As String())

Parameters

keyNames
String[]

An array of string values that contain key attribute names.

Applies to