IDataServiceHost.GetQueryStringItem Method (String)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

string GetQueryStringItem(
	string 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.

.NET Framework
Available since 3.5
Return to top