Sdílet prostřednictvím


IVsDataViewDocumentProvider.GetContext(Int32) Method

Definition

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.

Applies to