Partilhar via


Método IVsContainedLanguageCodeSupport.GetBaseClassName

Retorna o nome da classe base para a classe fornecida.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (em Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Sintaxe

'Declaração
Function GetBaseClassName ( _
    pszClassName As String, _
    <OutAttribute> ByRef pbstrBaseClassName As String _
) As Integer
int GetBaseClassName(
    string pszClassName,
    out string pbstrBaseClassName
)
int GetBaseClassName(
    [InAttribute] String^ pszClassName, 
    [OutAttribute] String^% pbstrBaseClassName
)
abstract GetBaseClassName : 
        pszClassName:string * 
        pbstrBaseClassName:string byref -> int
function GetBaseClassName(
    pszClassName : String, 
    pbstrBaseClassName : String
) : int

Parâmetros

  • pszClassName
    Tipo: String

    [in] O nome completo da classe, por exemplo, Namespace1.Namespace2.Class1.

  • pbstrBaseClassName
    Tipo: String%

    [out] O nome completo da classe base, por exemplo, System.Web.UI.Page.

Valor de retorno

Tipo: Int32
Se bem-sucedida, retorna S_OK; Caso contrário, retorna um código de erro.

Comentários

COM assinatura

De singlefileeditor.idl:

HRESULT GetBaseClassName(
   [in]  LPCWSTR pszClassName,
   [out] BSTR*   pbstrBaseClassName
);

Segurança do .NET Framework

Consulte também

Referência

IVsContainedLanguageCodeSupport Interface

Namespace Microsoft.VisualStudio.TextManager.Interop