DataServiceKeyAttribute Constructor (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 ( _
keyName As String _
)
'Usage
Dim keyName As String
Dim instance As New DataServiceKeyAttribute(keyName)
public DataServiceKeyAttribute(
string keyName
)
public:
DataServiceKeyAttribute(
String^ keyName
)
new :
keyName:string -> DataServiceKeyAttribute
public function DataServiceKeyAttribute(
keyName : String
)
Parameters
- keyName
Type: System.String
The string that contains name of the key attribute.