Share via


IVsDataViewUserContextProvider.CreateUserContext Method

When implemented by a class, creates a user context object for the specified node.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function CreateUserContext ( _
    itemId As Integer _
) As IVsUserContext
IVsUserContext CreateUserContext(
    int itemId
)
IVsUserContext^ CreateUserContext(
    int itemId
)
abstract CreateUserContext : 
        itemId:int -> IVsUserContext
function CreateUserContext(
    itemId : int
) : IVsUserContext

Parameters

  • itemId
    Type: System.Int32

    A numerical identifier of the node in the data view hierarchy.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsUserContext
An IVsUserContext object for the specified node.

.NET Framework Security

See Also

Reference

IVsDataViewUserContextProvider Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace