Partager via


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

'Declaration
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

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

See Also

Reference

IVsTextManager2 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace