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.Int32A 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataViewUserContextProvider Interface
Microsoft.VisualStudio.Data.Services.SupportEntities Namespace