Modifier

Partager via


Page.GetDataItem Method

Definition

Gets the data item at the top of the data-binding context stack.

public:
 System::Object ^ GetDataItem();
public object GetDataItem ();
member this.GetDataItem : unit -> obj
Public Function GetDataItem () As Object

Returns

The object at the top of the data binding context stack.

Exceptions

There is no data-binding context for the page.

Applies to