-
public CodeTypeMember();
-
-
概要
-
System.CodeDom.CodeTypeMember クラスの新しいインスタンスを初期化します。
▲ページ先頭へ
-
public string Name{ get; set; }
-
-
概要
-
メンバーの名前を取得または設定します。
-
戻り値
-
メンバーの名前。
-
public MemberAttributes Attributes{ get; set; }
-
-
概要
-
メンバーの属性を取得または設定します。
-
戻り値
-
ビットごとの組み合わせ、 System.CodeDom.MemberAttributes メンバーの属性を示すために使用する値。 既定値は System.CodeDom.MemberAttributes.Private| System.CodeDom.MemberAttributes.Finalします。
-
public CodeAttributeDeclarationCollection CustomAttributes{ get; set; }
-
-
概要
-
メンバーのカスタム属性を取得または設定します。
-
戻り値
-
A System.CodeDom.CodeAttributeDeclarationCollection 、メンバーのカスタム属性を示します。
-
public CodeLinePragma LinePragma{ get; set; }
-
-
概要
-
型メンバーのステートメントが発生する行を取得または設定します。
-
戻り値
-
A System.CodeDom.CodeLinePragma 型のメンバー宣言の位置を示すオブジェクト。
-
public CodeCommentStatementCollection Comments{ get; }
-
-
概要
-
型メンバーの注釈(コメント) コレクションを取得します。
-
戻り値
-
A System.CodeDom.CodeCommentStatementCollection メンバーのコメントを示します。
-
public CodeDirectiveCollection StartDirectives{ get; }
-
-
概要
-
メンバーの開始ディレクティブを取得します。
-
戻り値
-
A System.CodeDom.CodeDirectiveCollection オブジェクトを含むディレクティブを開始します。
-
public CodeDirectiveCollection EndDirectives{ get; }
-
-
概要
-
メンバーの終了ディレクティブを取得します。
-
戻り値
-
A System.CodeDom.CodeDirectiveCollection 終了ディレクティブを含むオブジェクト。
-
UserData
-
現在のオブジェクトのユーザー定義可能なデータを取得します。
(Inherited from
CodeObject
)
▲ページ先頭へ
-
Equals(Object)
-
指定したオブジェクトが、現在のオブジェクトと等しいかどうかを判断します。
(Inherited from Object)
-
GetHashCode()
-
既定のハッシュ関数として機能します。
(Inherited from Object)
-
GetType()
-
現在のインスタンスの Type を取得します。
(Inherited from Object)
-
MemberwiseClone()
-
現在の Object の簡易コピーを作成します。
(Inherited from Object)
-
ToString()
-
現在のオブジェクトを表す文字列を返します。
(Inherited from Object)
▲ページ先頭へ
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Serializable]
public class CodeTypeMember : System.CodeDom.CodeObject
▲ページ先頭へ
#region アセンブリ System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// C:¥Program Files (x86)¥Reference Assemblies¥Microsoft¥Framework¥.NETFramework¥v4.6.1¥System.dll
#endregion
using System.Runtime.InteropServices;
namespace System.CodeDom
{
//
// 概要:
// 型のメンバーの基本クラスを提供します。 型のメンバーには、フィールド、メソッド、プロパティ、コンス トラクターおよび入れ子にされた型が含まれます。
[ClassInterface( ClassInterfaceType.AutoDispatch )]
[ComVisible( true )]
public class CodeTypeMember : CodeObject
{
//
// 概要:
// System.CodeDom.CodeTypeMember クラスの新しいインスタンスを初期化します。
public CodeTypeMember();
//
// 概要:
// 取得またはメンバーの名前を設定します。
//
// 戻り値:
// メンバーの名前。
public string Name
{
get;
set;
}
//
// 概要:
// 取得またはメンバーの属性を設定します。
//
// 戻り値:
// ビットごとの組み合わせ、 System.CodeDom.MemberAttributes メンバーの属性を示すために使用する値。 既定値は System.CodeDom.MemberAttributes.Private
// | System.CodeDom.MemberAttributes.Finalします。
public MemberAttributes Attributes
{
get;
set;
}
//
// 概要:
// 取得またはメンバーのカスタム属性を設定します。
//
// 戻り値:
// A System.CodeDom.CodeAttributeDeclarationCollection 、メンバーのカスタム属性を示します。
public CodeAttributeDeclarationCollection CustomAttributes
{
get;
set;
}
//
// 概要:
// 取得または型メンバーのステートメントが発生した行を設定します。
//
// 戻り値:
// A System.CodeDom.CodeLinePragma 型のメンバー宣言の位置を示すオブジェクト。
public CodeLinePragma LinePragma
{
get;
set;
}
//
// 概要:
// 型のメンバーの注釈のコレクションを取得します。
//
// 戻り値:
// A System.CodeDom.CodeCommentStatementCollection メンバーのコメントを示します。
public CodeCommentStatementCollection Comments
{
get;
}
//
// 概要:
// メンバーの起動ディレクティブを取得します。
//
// 戻り値:
// A System.CodeDom.CodeDirectiveCollection オブジェクトを含むディレクティブを開始します。
public CodeDirectiveCollection StartDirectives
{
get;
}
//
// 概要:
// メンバーの最後のディレクティブを取得します。
//
// 戻り値:
// A System.CodeDom.CodeDirectiveCollection 終了ディレクティブを含むオブジェクト。
public CodeDirectiveCollection EndDirectives
{
get;
}
}
}
▲ページ先頭へ