共用方式為


IVsUserContextItem Interface

Definition

Describes the F1Help context of an item. Member of a IVsUserContextItemCollection.

public interface class IVsUserContextItem
public interface class IVsUserContextItem
__interface IVsUserContextItem
[System.Runtime.InteropServices.Guid("720B8500-17B3-4C89-AE84-2CFE7251B4B8")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsUserContextItem
[System.Runtime.InteropServices.Guid("720B8500-17B3-4C89-AE84-2CFE7251B4B8")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUserContextItem
[<System.Runtime.InteropServices.Guid("720B8500-17B3-4C89-AE84-2CFE7251B4B8")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsUserContextItem = interface
[<System.Runtime.InteropServices.Guid("720B8500-17B3-4C89-AE84-2CFE7251B4B8")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUserContextItem = interface
Public Interface IVsUserContextItem
Attributes

Methods

Command(String)

Outputs the F1 command's String value.

CountAttributes(String, Int32)

Counts the attributes of the user-selected item in the shell.

GetAttribute(String, Int32, String[], String[])

Gets the attributes of the user-selected item in the shell.

Name(String)

Returns the name of the UserContextItem selected by the user in the shell.

Applies to