IVsDocOutlineProvider.GetOutlineCaption(VSOUTLINECAPTION, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
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
);