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.
Toggles the state of an item. An item may have more than two states.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function ToggleStateAbsolute ( _
AbsIndex As UInteger, _
<OutAttribute> ByRef ptscr As UInteger _
) As Integer
'Usage
Dim instance As IVsLiteTree
Dim AbsIndex As UInteger
Dim ptscr As UInteger
Dim returnValue As Integer
returnValue = instance.ToggleStateAbsolute(AbsIndex, _
ptscr)
int ToggleStateAbsolute(
uint AbsIndex,
out uint ptscr
)
int ToggleStateAbsolute(
[InAttribute] unsigned int AbsIndex,
[OutAttribute] unsigned int% ptscr
)
abstract ToggleStateAbsolute :
AbsIndex:uint32 *
ptscr:uint32 byref -> int
function ToggleStateAbsolute(
AbsIndex : uint,
ptscr : uint
) : int
Parameters
- AbsIndex
Type: System.UInt32
[in] Integer containing the absolute index of the node.
- ptscr
Type: System.UInt32%
[out] Pointer to a value from the _VSTREESTATECHANGEREFRESH.enumeration indicating what type of refresh needs to do.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
[C++]
From vsshell.idl:
HRESULT IVsLiteTree::ToggleStateAbsolute(
[in] ULONG AbsIndex,
[out] VSTREESTATECHANGEREFRESH *ptscr
);
.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.