FieldBuilder Properties

The FieldBuilder type exposes the following members.

  Name Description
Public property Attributes Gets the attributes of this field. (Overrides FieldInfo.Attributes.)
Public property DeclaringType Gets a reference to the Type object for the type that declares this field. (Overrides MemberInfo.DeclaringType.)
Public property FieldHandle Gets the internal metadata handle for this field. (Overrides FieldInfo.FieldHandle.)
Public property FieldType Gets the Type object that represents the type of this field. (Overrides FieldInfo.FieldType.)
Public property IsAssembly Gets a value that indicates whether the potential visibility of this field is described by FieldAttributes.Assembly; that is, the field is visible at most to other types in the same assembly, and is not visible to derived types outside the assembly. (Inherited from FieldInfo.)
Public property IsFamily Gets a value that indicates whether the visibility of this field is described by FieldAttributes.Family; that is, the field is visible only within its class and derived classes. (Inherited from FieldInfo.)
Public property IsFamilyAndAssembly Gets a value that indicates whether the visibility of this field is described by FieldAttributes.FamANDAssem; that is, the field can be accessed from derived classes, but only if they are in the same assembly. (Inherited from FieldInfo.)
Public property IsFamilyOrAssembly Gets a value that indicates whether the potential visibility of this field is described by FieldAttributes.FamORAssem; that is, the field can be accessed by derived classes wherever they are, and by classes in the same assembly. (Inherited from FieldInfo.)
Public property IsInitOnly Gets a value that indicates whether the field can be set only in the body of the constructor. (Inherited from FieldInfo.)
Public property IsLiteral Gets a value that indicates whether the value is written at compile time and cannot be changed. (Inherited from FieldInfo.)
Public property IsNotSerialized Gets a value that indicates whether this field has the NotSerialized attribute. (Inherited from FieldInfo.)
Public property IsPinvokeImpl Gets a value that indicates whether the corresponding PinvokeImpl attribute is set in FieldAttributes. (Inherited from FieldInfo.)
Public property IsPrivate Gets a value that indicates whether the field is private. (Inherited from FieldInfo.)
Public property IsPublic Gets a value that indicates whether the field is public. (Inherited from FieldInfo.)
Public property IsSpecialName Gets a value that indicates whether the field has a name that has special significance. (Inherited from FieldInfo.)
Public property IsStatic Gets a value that indicates whether the field is static (Shared in Visual Basic). (Inherited from FieldInfo.)
Public property MemberType Gets a value that indicates that this member is a field. (Inherited from FieldInfo.)
Public property MetadataToken Gets a value that identifies a metadata element. (Inherited from MemberInfo.)
Public property Module Gets the module in which the type that contains this field is being defined. (Overrides MemberInfo.Module.)
Public property Name Gets the name of this field. (Overrides MemberInfo.Name.)
Public property ReflectedType Gets the reference to the Type object from which this object was obtained. (Overrides MemberInfo.ReflectedType.)
Top

Community Additions

ADD
Show: