This documentation is archived and is not being maintained.
COMFieldInfo Class
Visual Studio 2010
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Enables JScript to communicate with an external COM field. This class is used by an external COM implementation to expose its objects to JScript because JScript needs a managed MemberInfo in order to bind to an external object.
System::Object
System.Reflection::MemberInfo
System.Reflection::FieldInfo
Microsoft.JScript::COMFieldInfo
System.Reflection::MemberInfo
System.Reflection::FieldInfo
Microsoft.JScript::COMFieldInfo
Assembly: Microsoft.JScript (in Microsoft.JScript.dll)
The COMFieldInfo type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Attributes | Gets the attributes that are associated with this field. (Overrides FieldInfo::Attributes.) |
![]() | DeclaringType | Gets the type that declares this field. (Overrides MemberInfo::DeclaringType.) |
![]() | FieldHandle | Throws an InternalError exception in all cases. (Overrides FieldInfo::FieldHandle.) |
![]() | FieldType | Gets the type of this field. (Overrides FieldInfo::FieldType.) |
![]() | 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.) |
![]() | 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.) |
![]() | 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.) |
![]() | 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.) |
![]() | IsInitOnly | Gets a value indicating whether the field can only be set in the body of the constructor. (Inherited from FieldInfo.) |
![]() | IsLiteral | Gets a value indicating whether the value is written at compile time and cannot be changed. (Inherited from FieldInfo.) |
![]() | IsNotSerialized | Gets a value indicating whether this field has the NotSerialized attribute. (Inherited from FieldInfo.) |
![]() | IsPinvokeImpl | Gets a value indicating whether the corresponding PinvokeImpl attribute is set in FieldAttributes. (Inherited from FieldInfo.) |
![]() | IsPrivate | Gets a value indicating whether the field is private. (Inherited from FieldInfo.) |
![]() | IsPublic | Gets a value indicating whether the field is public. (Inherited from FieldInfo.) |
![]() | IsSecurityCritical | Gets a value that indicates whether the current field is security-critical or security-safe-critical at the current trust level. (Inherited from FieldInfo.) |
![]() | IsSecuritySafeCritical | Gets a value that indicates whether the current field is security-safe-critical at the current trust level. (Inherited from FieldInfo.) |
![]() | IsSecurityTransparent | Gets a value that indicates whether the current field is transparent at the current trust level. (Inherited from FieldInfo.) |
![]() | IsSpecialName | Gets a value indicating whether the corresponding SpecialName attribute is set in the FieldAttributes enumerator. (Inherited from FieldInfo.) |
![]() | IsStatic | Gets a value indicating whether the field is static. (Inherited from FieldInfo.) |
![]() | MemberType | Gets the type of member that this field is. Identifies the type of class derived from MemberInfo that this class derives from. (Overrides FieldInfo::MemberType.) |
![]() | MetadataToken | Gets a value that identifies a metadata element. (Inherited from MemberInfo.) |
![]() | Module | Gets the module in which the type that declares the member represented by the current MemberInfo is defined. (Inherited from MemberInfo.) |
![]() | Name | Gets the name of the external COM field that this object represents. (Overrides MemberInfo::Name.) |
![]() | ReflectedType | Gets the class object that was used to obtain this instance through reflection. (Overrides MemberInfo::ReflectedType.) |
| Name | Description | |
|---|---|---|
![]() | Equals | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from FieldInfo.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetCOMMemberInfo | Gets a managed object that enables JScript to communicate with this external COM field. |
![]() | GetCustomAttributes(Boolean) | Returns an array that contains the custom attributes that are attached to this field. (Overrides MemberInfo::GetCustomAttributes(Boolean).) |
![]() | GetCustomAttributes(Type, Boolean) | Returns an array that contains the custom attributes that are attached to this field, searching only for attributes of the specified type. (Overrides MemberInfo::GetCustomAttributes(Type, Boolean).) |
![]() | GetCustomAttributesData | Returns a list of CustomAttributeData objects representing data about the attributes that have been applied to the target member. (Inherited from MemberInfo.) |
![]() | GetHashCode | Returns the hash code for this instance. (Inherited from FieldInfo.) |
![]() | GetOptionalCustomModifiers | Gets an array of types that identify the optional custom modifiers of the field. (Inherited from FieldInfo.) |
![]() | GetRawConstantValue | Returns a literal value associated with the field by a compiler. (Inherited from FieldInfo.) |
![]() | GetRequiredCustomModifiers | Gets an array of types that identify the required custom modifiers of the property. (Inherited from FieldInfo.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValue | Gets the value of the external COM field by using the COMMemberInfo that was specified to the Initialize method. (Overrides FieldInfo::GetValue(Object).) |
![]() | GetValueDirect | Returns the value of a field supported by a given object. (Inherited from FieldInfo.) |
![]() | Initialize | Initializes the information that enables JScript to communicate with this external COM field. |
![]() | IsDefined | Determines whether the specified attribute type is attached to this field. (Overrides MemberInfo::IsDefined(Type, Boolean).) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetValue(Object, Object) | Sets the value of the field supported by the given object. (Inherited from FieldInfo.) |
![]() | SetValue(Object, Object, BindingFlags, Binder, CultureInfo) | Sets the value of the external COM field by using the COMMemberInfo that was specified to the Initialize method. (Overrides FieldInfo::SetValue(Object, Object, BindingFlags, Binder, CultureInfo).) |
![]() | SetValueDirect | Sets the value of the field supported by the given object. (Inherited from FieldInfo.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _FieldInfo::GetIDsOfNames | Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from FieldInfo.) |
![]() ![]() | _FieldInfo::GetType | Gets a Type object representing the FieldInfo type. (Inherited from FieldInfo.) |
![]() ![]() | _FieldInfo::GetTypeInfo | Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from FieldInfo.) |
![]() ![]() | _FieldInfo::GetTypeInfoCount | Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from FieldInfo.) |
![]() ![]() | _FieldInfo::Invoke | Provides access to properties and methods exposed by an object. (Inherited from FieldInfo.) |
![]() ![]() | _MemberInfo::GetIDsOfNames | Maps a set of names to a corresponding set of dispatch identifiers. (Inherited from MemberInfo.) |
![]() ![]() | _MemberInfo::GetType | Gets a Type object representing the MemberInfo class. (Inherited from MemberInfo.) |
![]() ![]() | _MemberInfo::GetTypeInfo | Retrieves the type information for an object, which can then be used to get the type information for an interface. (Inherited from MemberInfo.) |
![]() ![]() | _MemberInfo::GetTypeInfoCount | Retrieves the number of type information interfaces that an object provides (either 0 or 1). (Inherited from MemberInfo.) |
![]() ![]() | _MemberInfo::Invoke | Provides access to properties and methods exposed by an object. (Inherited from MemberInfo.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
