Export (0) Print
Expand All

IDataServiceHost.GetQueryStringItem Method

Gets a data item identified by the identity key contained by the parameter of the method.

Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

string GetQueryStringItem(
	string item
)

Parameters

item
Type: System.String
String value containing identity key of item requested.

Return Value

Type: System.String
The data item requested by the query serialized as a string.

The query string portion of an WCF Data Services URI is made up of key/value pairs, with the key and value separated by the ‘=’ character. GetQueryStringItem returns a data item for an identity key specified by the parameter of the method.

Show:
© 2014 Microsoft