DataServiceKeyAttribute Constructor (array<String[])
Initializes a new instance of the DataServiceKeyAttribute class.
Namespace: System.Data.Services.Common
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
Syntax
'Declaration
Public Sub New ( _
ParamArray keyNames As String() _
)
'Usage
Dim keyNames As String()
Dim instance As New DataServiceKeyAttribute(keyNames)
public DataServiceKeyAttribute(
params string[] keyNames
)
public:
DataServiceKeyAttribute(
... array<String^>^ keyNames
)
new :
keyNames:string[] -> DataServiceKeyAttribute
public function DataServiceKeyAttribute(
... keyNames : String[]
)
Parameters
- keyNames
Type: array<System.String[]
An array of string values that contain key attribute names.