Udostępnij za pośrednictwem


IVsContainedLanguageCodeSupport.GetBaseClassName(String, String) Method

Definition

Returns the base class name for the provided class.

public:
 int GetBaseClassName(System::String ^ pszClassName, [Runtime::InteropServices::Out] System::String ^ % pbstrBaseClassName);
int GetBaseClassName(std::wstring const & pszClassName, [Runtime::InteropServices::Out] std::wstring const & & pbstrBaseClassName);
public int GetBaseClassName (string pszClassName, out string pbstrBaseClassName);
abstract member GetBaseClassName : string * string -> int
Public Function GetBaseClassName (pszClassName As String, ByRef pbstrBaseClassName As String) As Integer

Parameters

pszClassName
String

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

pbstrBaseClassName
String

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

Returns

If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

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

Applies to