Share via


DataServiceQuerySingle<TElement>.GetValue Method

Definition

Executes the query and returns the result.

public virtual TElement GetValue ();
abstract member GetValue : unit -> 'Element
override this.GetValue : unit -> 'Element
Public Overridable Function GetValue () As TElement

Returns

TElement

Query result.

Exceptions

Problem materializing result of query into object.

Applies to