CodeStatement クラス

定義

すべてのコード ステートメントの派生元となる abstract 基底クラスを表します。

public ref class CodeStatement : System::CodeDom::CodeObject
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Serializable]
public class CodeStatement : System.CodeDom.CodeObject
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Serializable>]
type CodeStatement = class
    inherit CodeObject
Public Class CodeStatement
Inherits CodeObject
継承
CodeStatement
派生
属性

注釈

CodeStatement は、 System.CodeDom 名前空間内のコード ステートメントの抽象基本クラスを提供します。

コンストラクター

名前 説明
CodeStatement()

CodeStatement クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
EndDirectives

終了ディレクティブを含む CodeDirectiveCollection オブジェクトを取得します。

LinePragma

コード ステートメントが発生する行を取得または設定します。

StartDirectives

開始ディレクティブを含む CodeDirectiveCollection オブジェクトを取得します。

UserData

現在のオブジェクトのユーザー定義可能なデータを取得します。

(継承元 CodeObject)

メソッド

名前 説明
Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象

こちらもご覧ください