次の方法で共有


CodeGenerator.IsCurrentClass プロパティ

生成されている現在のオブジェクトがクラスかどうかを示す値を取得します。

Protected ReadOnly Property IsCurrentClass As Boolean
[C#]
protected bool IsCurrentClass {get;}
[C++]
protected: __property bool get_IsCurrentClass();
[JScript]
protected function get IsCurrentClass() : Boolean;

プロパティ値

現在のオブジェクトがクラスである場合は true 。それ以外の場合は false

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

CodeGenerator クラス | CodeGenerator メンバ | System.CodeDom.Compiler 名前空間