Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Called when an icon changes state.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function OnToggleState ( _
AbsIndex As UInteger, _
tscr As UInteger _
) As Integer
'Usage
Dim instance As IVsLiteTreeEvents
Dim AbsIndex As UInteger
Dim tscr As UInteger
Dim returnValue As Integer
returnValue = instance.OnToggleState(AbsIndex, _
tscr)
int OnToggleState(
uint AbsIndex,
uint tscr
)
int OnToggleState(
[InAttribute] unsigned int AbsIndex,
[InAttribute] unsigned int tscr
)
abstract OnToggleState :
AbsIndex:uint32 *
tscr:uint32 -> int
function OnToggleState(
AbsIndex : uint,
tscr : uint
) : int
Parameters
- AbsIndex
Type: System.UInt32
[In] An unsigned integer containing the Absolute Index of the Item.
- tscr
Type: System.UInt32
[In] An object of type VSTREESTATECHANGEREFRESH
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsLiteTreeEvents::OnToggleState(
[in] ULONG AbsIndex,
[in] VSTREESTATECHANGEREFRESH tscr
);
.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.