Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function OnCmdUIContextChanged ( _
dwCmdUICookie As UInteger, _
fActive As Integer _
) As Integer
'使用
Dim instance As SelectionListener
Dim dwCmdUICookie As UInteger
Dim fActive As Integer
Dim returnValue As Integer
returnValue = instance.OnCmdUIContextChanged(dwCmdUICookie, _
fActive)
public virtual int OnCmdUIContextChanged(
uint dwCmdUICookie,
int fActive
)
public:
virtual int OnCmdUIContextChanged(
unsigned int dwCmdUICookie,
int fActive
)
public function OnCmdUIContextChanged(
dwCmdUICookie : uint,
fActive : int
) : int
Parameters
- dwCmdUICookie
Type: System.UInt32
- fActive
Type: System.Int32
Return Value
Type: System.Int32
Implements
IVsSelectionEvents.OnCmdUIContextChanged(UInt32, Int32)
Permissions
- 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.