IVsTextManager2.GetExpansionManager Method
Gets the expansion manager.
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
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 the expansion manager.
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.