Page.GetDataItem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.