IVsDataViewDocumentProvider.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.
When implemented by a class, retrieves the service provider representing the context of the current document in the data view.
public:
IServiceProvider ^ GetContext(int itemId);
public IServiceProvider GetContext (int itemId);
abstract member GetContext : int -> IServiceProvider
Public 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.