次の方法で共有


CodeGenerator.IsCurrentDelegate プロパティ

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

Protected ReadOnly Property IsCurrentDelegate As Boolean
[C#]
protected bool IsCurrentDelegate {get;}
[C++]
protected: __property bool get_IsCurrentDelegate();
[JScript]
protected function get IsCurrentDelegate() : 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 名前空間