This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
FieldBuilder Members
Public:
Properties
Attributes |
Retrieves the attributes of this field. |
DeclaringType |
Retrieves a reference to the Type object for the type that declares this field. |
FieldHandle |
Retrieves the internal metadata handle for this field. |
FieldType |
Retrieves the Type object that represents the type of this field. |
IsAssembly (inherited from FieldInfo) |
Indicates whether this field has Assembly level visibility. |
IsFamily (inherited from FieldInfo) |
Indicates whether this field has Family level visibility. |
IsFamilyAndAssembly (inherited from FieldInfo) |
Indicates whether this field has FamilyANDAssembly level visibility. |
IsFamilyOrAssembly (inherited from FieldInfo) |
Indicates whether this field has FamilyORAssembly level visibility. |
IsInitOnly (inherited from FieldInfo) |
Indicates whether the field can only be set in the body of the constructor. |
IsLiteral (inherited from FieldInfo) |
Indicates whether the value is written at compile time and cannot be changed. |
IsNotSerialized (inherited from FieldInfo) |
Indicates whether this field has the NotSerialized attribute. |
IsPinvokeImpl (inherited from FieldInfo) |
Indicates whether the corresponding PinvokeImpl attribute is set in FieldAttributes. |
IsPrivate (inherited from FieldInfo) |
Retrieves a value indicating whether the field is private. |
IsPublic (inherited from FieldInfo) |
Indicates whether the field is public. |
IsSpecialName (inherited from FieldInfo) |
Indicates whether the corresponding SpecialName attribute is set in the FieldAttributes enumerator. |
IsStatic (inherited from FieldInfo) |
Indicates whether the field is static. |
MemberType (inherited from FieldInfo) |
Retrieves the Type of property reflected by this FieldInfo object. The retrieved value indicates that this member is a field. |
Name |
Retrieves the name of this field. |
ReflectedType |
Retrieves the reference to the Type object from which this object was obtained. |
Methods
Equals (inherited from Object) |
Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality). |
GetCustomAttributes |
Overloaded. Overloaded. Returns the custom attributes defined for this constructor. |
GetHashCode (inherited from Object) |
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetToken |
Returns the token representing this field. |
GetType (inherited from Object) |
Gets the Type of the Object. |
GetValue |
Retrieves the value of the field supported by the given object. |
GetValueDirect (inherited from FieldInfo) |
[To be supplied.] |
IsDefined |
[To be supplied.] |
SetConstant |
Sets the default value of this field. |
SetCustomAttribute |
Overloaded. Sets a custom attribute. |
SetMarshal |
Describes the native marshaling of the field. |
SetOffset |
Specifies the field layout. |
SetValue |
Overloaded. [To be supplied.] |
SetValueDirect (inherited from FieldInfo) |
[To be supplied.] |
ToString (inherited from Object) |
Returns a String that represents the current Object. |
Protected:
Methods
Finalize (inherited from Object) |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere. |
MemberwiseClone (inherited from Object) |
Creates a shallow copy of the current Object. |
See Also
FieldBuilder Class | System.Reflection.Emit Namespace