Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FieldBuilder Properties

  Name Description
Public property Attributes Overridden. Indicates the attributes of this field. This property is read-only.
Public property DeclaringType Overridden. Indicates a reference to the Type object for the type that declares this field. This property is read-only.
Public property FieldHandle Overridden. Indicates the internal metadata handle for this field. This property is read-only.
Public property FieldType Overridden. Indicates the Type object that represents the type of this field. This property is read-only.
Public property IsAssembly  Gets a value indicating 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 indicating 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 indicating 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 indicating 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 indicating whether the field can only be set in the body of the constructor. (inherited from FieldInfo)
Public property IsLiteral  Gets a value indicating whether the value is written at compile time and cannot be changed. (inherited from FieldInfo)
Public property IsNotSerialized  Gets a value indicating whether this field has the NotSerialized attribute. (inherited from FieldInfo)
Public property IsPinvokeImpl  Gets a value indicating whether the corresponding PinvokeImpl attribute is set in FieldAttributes. (inherited from FieldInfo)
Public property IsPrivate  Gets a value indicating whether the field is private. (inherited from FieldInfo)
Public property IsPublic  Gets a value indicating whether the field is public. (inherited from FieldInfo)
Public property IsSpecialName  Gets a value indicating whether the corresponding SpecialName attribute is set in the FieldAttributes enumerator. (inherited from FieldInfo)
Public property IsStatic  Gets a value indicating whether the field is static. (inherited from FieldInfo)
Public property MemberType  Gets a MemberTypes value indicating 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 Overridden. Gets the module in which the type that contains this field is being defined.
Public property Name Overridden. Indicates the name of this field. This property is read-only.
Public property ReflectedType Overridden. Indicates the reference to the Type object from which this object was obtained. This property is read-only.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.