IVsLiteTreeList.GetExpandable Method
Specifies whether an item is expandable.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
‘선언
Function GetExpandable ( _
index As UInteger, _
<OutAttribute> ByRef pfExpandable As Integer _
) As Integer
‘사용 방법
Dim instance As IVsLiteTreeList
Dim index As UInteger
Dim pfExpandable As Integer
Dim returnValue As Integer
returnValue = instance.GetExpandable(index, _
pfExpandable)
int GetExpandable(
uint index,
out int pfExpandable
)
int GetExpandable(
[InAttribute] unsigned int index,
[OutAttribute] int% pfExpandable
)
abstract GetExpandable :
index:uint32 *
pfExpandable:int byref -> int
function GetExpandable(
index : uint,
pfExpandable : int
) : int
Parameters
- index
Type: System.UInt32
[in] Specifies the index of the node of interest.
- pfExpandable
Type: System.Int32%
true if item is expandable.
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 IVsLiteTreeList::GetExpandable(
[in] ULONG Index,
[out] BOOL *pfExpandable
);
GetExpandable is not called if TF_NOEXPANSION is set.
.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.