次の方法で共有


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

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

IVsTextManager2 Members

Microsoft.VisualStudio.TextManager.Interop Namespace