Bagikan melalui


DataServiceKeyAttribute Konstruktor

Definisi

Menginisialisasi instans baru kelas DataServiceKeyAttribute.

Overload

DataServiceKeyAttribute(String)

Menginisialisasi instans baru kelas DataServiceKeyAttribute.

DataServiceKeyAttribute(String[])

Menginisialisasi instans baru kelas DataServiceKeyAttribute.

DataServiceKeyAttribute(String)

Menginisialisasi instans baru kelas DataServiceKeyAttribute.

public:
 DataServiceKeyAttribute(System::String ^ keyName);
public DataServiceKeyAttribute (string keyName);
new System.Data.Services.Common.DataServiceKeyAttribute : string -> System.Data.Services.Common.DataServiceKeyAttribute
Public Sub New (keyName As String)

Parameter

keyName
String

String yang berisi nama atribut kunci.

Berlaku untuk

DataServiceKeyAttribute(String[])

Menginisialisasi instans baru kelas DataServiceKeyAttribute.

public:
 DataServiceKeyAttribute(... cli::array <System::String ^> ^ keyNames);
public DataServiceKeyAttribute (params string[] keyNames);
new System.Data.Services.Common.DataServiceKeyAttribute : string[] -> System.Data.Services.Common.DataServiceKeyAttribute
Public Sub New (ParamArray keyNames As String())

Parameter

keyNames
String[]

Array nilai string yang berisi nama atribut kunci.

Berlaku untuk