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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsContainedLanguageCodeSupport Interface