Compartir a través de


IVsContainedLanguageCodeSupport.GetBaseClassName Method

Returns the base class name for the provided class.

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

Syntax

'Declaration
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

Parameters

  • pszClassName
    Type: System.String

    [in] The full name of the class, for example, Namespace1.Namespace2.Class1.

  • pbstrBaseClassName
    Type: System.String%

    [out] The full name of the base class, for example, System.Web.UI.Page.

Return Value

Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

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

.NET Framework Security

See Also

Reference

IVsContainedLanguageCodeSupport Interface

Microsoft.VisualStudio.TextManager.Interop Namespace