IVsDocOutlineProvider.GetOutlineCaption(VSOUTLINECAPTION, String) Méthode

Définition

Retourne une légende de structure du document.

public:
 int GetOutlineCaption(Microsoft::VisualStudio::Shell::Interop::VSOUTLINECAPTION nCaptionType, [Runtime::InteropServices::Out] System::String ^ % pbstrCaption);
int GetOutlineCaption(Microsoft::VisualStudio::Shell::Interop::VSOUTLINECAPTION nCaptionType, [Runtime::InteropServices::Out] std::wstring const & & pbstrCaption);
public int GetOutlineCaption (Microsoft.VisualStudio.Shell.Interop.VSOUTLINECAPTION nCaptionType, out string pbstrCaption);
abstract member GetOutlineCaption : Microsoft.VisualStudio.Shell.Interop.VSOUTLINECAPTION * string -> int
Public Function GetOutlineCaption (nCaptionType As VSOUTLINECAPTION, ByRef pbstrCaption As String) As Integer

Paramètres

nCaptionType
VSOUTLINECAPTION

[in] Type de légende. Valeur issue de l'énumération VSOUTLINECAPTION.

pbstrCaption
String

[out] Pointeur vers un BSTR contenant la légende de la structure du document.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Remarques

Signature COM

À partir de vsshell. idl :

HRESULT IVsDocOutlineProvider::GetOutlineCaption(  
   [in] VSOUTLINECAPTION nCaptionType,  
   [out] BSTR* pbstrCaption  
);  

S’applique à