DataViewDocumentProvider.GetContext(Int32) 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.
Retrieves the service provider representing the context of the current document in the data view.
public:
virtual IServiceProvider ^ GetContext(int itemId);
public virtual IServiceProvider GetContext (int itemId);
abstract member GetContext : int -> IServiceProvider
override this.GetContext : int -> IServiceProvider
Public Overridable Function GetContext (itemId As Integer) As IServiceProvider
Parameters
- itemId
- Int32
A numerical identifier for the node in the data view.
Returns
An IServiceProvider object representing the context of the current document in the data view.