IVsTextManager2.GetExpansionManager Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣言
Function GetExpansionManager ( _
<OutAttribute> ByRef pExpansionManager As IVsExpansionManager _
) As Integer
'使用
Dim instance As IVsTextManager2
Dim pExpansionManager As IVsExpansionManager
Dim returnValue As Integer
returnValue = instance.GetExpansionManager(pExpansionManager)
int GetExpansionManager(
out IVsExpansionManager pExpansionManager
)
int GetExpansionManager(
[OutAttribute] IVsExpansionManager^% pExpansionManager
)
abstract GetExpansionManager :
pExpansionManager:IVsExpansionManager byref -> int
function GetExpansionManager(
pExpansionManager : IVsExpansionManager
) : int
Parameters
- pExpansionManager
Type: Microsoft.VisualStudio.TextManager.Interop.IVsExpansionManager%
[out] Pointer to IVsExpansionManager.
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 textmgr.idl:
HRESULT IVsTextManager2::GetExpansionManager(
[out] IVsExpansionManager **pExpansionManager
);
.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.