次の方法で共有


PropertyGridObject.ICustomTypeDescriptor.GetClassName メソッド

定義

プロパティ グリッドのクラスの名前を返します。

 virtual System::String ^ System.ComponentModel.ICustomTypeDescriptor.GetClassName() = System::ComponentModel::ICustomTypeDescriptor::GetClassName;
string ICustomTypeDescriptor.GetClassName ();
Function GetClassName () As String Implements ICustomTypeDescriptor.GetClassName

戻り値

プロパティ グリッドのクラスの名前。

実装

次の例では、 メソッドを <xref:Microsoft.Web.Management.Client.PropertyGridObject.System.ComponentModel.ICustomTypeDescriptor.GetClassName%2A> 複製しています。

Trace.WriteLine(MyGetClassName());
string MyGetClassName() {
    return TypeDescriptor.GetClassName(this, true);
} 

適用対象