Freigeben über


DataViewDocumentProvider.GetContext(Int32) Method

Definition

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.

Implements

Applies to