다음을 통해 공유


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

‘선언
Function GetBaseClassName ( _
    pszClassName As String, _
    <OutAttribute> ByRef pbstrBaseClassName As String _
) As Integer
‘사용 방법
Dim instance As IVsContainedLanguageCodeSupport
Dim pszClassName As String
Dim pbstrBaseClassName As String
Dim returnValue As Integer

returnValue = instance.GetBaseClassName(pszClassName, _
    pbstrBaseClassName)
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

IVsContainedLanguageCodeSupport Members

Microsoft.VisualStudio.TextManager.Interop Namespace