共用方式為


IVsTextManager2.GetExpansionManager(IVsExpansionManager) Method

Definition

Gets the expansion manager.

public:
 int GetExpansionManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsExpansionManager ^ % pExpansionManager);
public:
 int GetExpansionManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsExpansionManager ^ &  pExpansionManager);
int GetExpansionManager([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsExpansionManager const & & pExpansionManager);
public int GetExpansionManager (out Microsoft.VisualStudio.TextManager.Interop.IVsExpansionManager pExpansionManager);
abstract member GetExpansionManager : IVsExpansionManager -> int
Public Function GetExpansionManager (ByRef pExpansionManager As IVsExpansionManager) As Integer

Parameters

pExpansionManager
IVsExpansionManager

[out] Pointer to the expansion manager.

Returns

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  
);  

Applies to