COMPropertyInfo Class

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Enables JScript to communicate with an external COM property. 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.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

System.Object
  System.Reflection.MemberInfo
    System.Reflection.PropertyInfo
      Microsoft.JScript.COMPropertyInfo

[GuidAttribute("6A02951C-B129-4d26-AB92-B9CA19BDCA26")]
[ComVisibleAttribute(true)]
public sealed class COMPropertyInfo : PropertyInfo, MemberInfoInitializer

NameDescription
System_CAPS_pubmethodCOMPropertyInfo()

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes a new instance of the COMPropertyInfo class.

NameDescription
System_CAPS_pubpropertyAttributes

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the attributes that are associated with this property.(Overrides PropertyInfo.Attributes.)

System_CAPS_pubpropertyCanRead

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value that indicates whether the property can be read.(Overrides PropertyInfo.CanRead.)

System_CAPS_pubpropertyCanWrite

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a value that indicates whether the property can be written to.(Overrides PropertyInfo.CanWrite.)

System_CAPS_pubpropertyCustomAttributes

Gets a collection that contains this member's custom attributes.(Inherited from MemberInfo.)

System_CAPS_pubpropertyDeclaringType

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the type that declares this property.(Overrides MemberInfo.DeclaringType.)

System_CAPS_pubpropertyGetMethod

Gets the get accessor for this property.(Inherited from PropertyInfo.)

System_CAPS_pubpropertyIsSpecialName

Gets a value indicating whether the property is the special name.(Inherited from PropertyInfo.)

System_CAPS_pubpropertyMemberType

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the type of member that this property is. Identifies the type of class derived from MemberInfo that this class derives from.(Overrides PropertyInfo.MemberType.)

System_CAPS_pubpropertyMetadataToken

Gets a value that identifies a metadata element.(Inherited from MemberInfo.)

System_CAPS_pubpropertyModule

Gets the module in which the type that declares the member represented by the current MemberInfo is defined.(Inherited from MemberInfo.)

System_CAPS_pubpropertyName

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the name of the external COM property that this object represents.(Overrides MemberInfo.Name.)

System_CAPS_pubpropertyPropertyType

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the type of this property.(Overrides PropertyInfo.PropertyType.)

System_CAPS_pubpropertyReflectedType

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the class object that was used to obtain this instance through reflection.(Overrides MemberInfo.ReflectedType.)

System_CAPS_pubpropertySetMethod

Gets the set accessor for this property.(Inherited from PropertyInfo.)

NameDescription
System_CAPS_pubmethodEquals(Object)

Returns a value that indicates whether this instance is equal to a specified object.(Inherited from PropertyInfo.)

System_CAPS_pubmethodGetAccessors()

Returns an array whose elements reflect the public get and set accessors of the property reflected by the current instance. (Inherited from PropertyInfo.)

System_CAPS_pubmethodGetAccessors(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets an array whose elements contain the get and set accessors of the external COM property that this object represents.(Overrides PropertyInfo.GetAccessors(Boolean).)

System_CAPS_pubmethodGetCOMMemberInfo()

This API supports the product infrastructure and is not intended to be used directly from your code. Gets a managed object that enables JScript to communicate with this external COM property.

System_CAPS_pubmethodGetConstantValue()

Returns a literal value associated with the property by a compiler. (Inherited from PropertyInfo.)

System_CAPS_pubmethodGetCustomAttributes(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns an array that contains the custom attributes that are attached to this property.(Overrides MemberInfo.GetCustomAttributes(Boolean).)

System_CAPS_pubmethodGetCustomAttributes(Type, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns an array that contains the custom attributes that are attached to this property, searching only for attributes of the specified type.(Overrides MemberInfo.GetCustomAttributes(Type, Boolean).)

System_CAPS_pubmethodGetCustomAttributesData()

Returns a list of CustomAttributeData objects representing data about the attributes that have been applied to the target member.(Inherited from MemberInfo.)

System_CAPS_pubmethodGetGetMethod()

Returns the public get accessor for this property.(Inherited from PropertyInfo.)

System_CAPS_pubmethodGetGetMethod(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the get accessor for this property.(Overrides PropertyInfo.GetGetMethod(Boolean).)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for this instance.(Inherited from PropertyInfo.)

System_CAPS_pubmethodGetIndexParameters()

This API supports the product infrastructure and is not intended to be used directly from your code. Returns an array of all the index parameters for the property.(Overrides PropertyInfo.GetIndexParameters().)

System_CAPS_pubmethodGetOptionalCustomModifiers()

Returns an array of types representing the optional custom modifiers of the property.(Inherited from PropertyInfo.)

System_CAPS_pubmethodGetRawConstantValue()

Returns a literal value associated with the property by a compiler. (Inherited from PropertyInfo.)

System_CAPS_pubmethodGetRequiredCustomModifiers()

Returns an array of types representing the required custom modifiers of the property.(Inherited from PropertyInfo.)

System_CAPS_pubmethodGetSetMethod()

Returns the public set accessor for this property.(Inherited from PropertyInfo.)

System_CAPS_pubmethodGetSetMethod(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Returns the set accessor for this property.(Overrides PropertyInfo.GetSetMethod(Boolean).)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetValue(Object)

Returns the property value of a specified object.(Inherited from PropertyInfo.)

System_CAPS_pubmethodGetValue(Object, BindingFlags, Binder, Object[], CultureInfo)

This API supports the product infrastructure and is not intended to be used directly from your code. Gets the value of the external COM property by using the COMMemberInfo that was specified to the Initialize method.(Overrides PropertyInfo.GetValue(Object, BindingFlags, Binder, Object[], CultureInfo).)

System_CAPS_pubmethodGetValue(Object, Object[])

Returns the property value of a specified object with optional index values for indexed properties.(Inherited from PropertyInfo.)

System_CAPS_pubmethodInitialize(String, COMMemberInfo)

This API supports the product infrastructure and is not intended to be used directly from your code. Initializes the information that enables JScript to communicate with this external COM property.

System_CAPS_pubmethodIsDefined(Type, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Determines whether the specified attribute type is attached to this property.(Overrides MemberInfo.IsDefined(Type, Boolean).)

System_CAPS_pubmethodSetValue(Object, Object)

Sets the property value of a specified object.(Inherited from PropertyInfo.)

System_CAPS_pubmethodSetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo)

This API supports the product infrastructure and is not intended to be used directly from your code. Sets the value of the external COM property by using the COMMemberInfo that was specified to the Initialize method.(Overrides PropertyInfo.SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo).)

System_CAPS_pubmethodSetValue(Object, Object, Object[])

Sets the property value of a specified object with optional index values for index properties.(Inherited from PropertyInfo.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetType()

Gets a Type object representing the MemberInfo class.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_MemberInfo.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.(Inherited from MemberInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_PropertyInfo.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.(Inherited from PropertyInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_PropertyInfo.GetType()

Gets a Type object representing the PropertyInfo type.(Inherited from PropertyInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_PropertyInfo.GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can then be used to get the type information for an interface.(Inherited from PropertyInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_PropertyInfo.GetTypeInfoCount(UInt32)

Retrieves the number of type information interfaces that an object provides (either 0 or 1).(Inherited from PropertyInfo.)

System_CAPS_pubinterfaceSystem_CAPS_privmethod_PropertyInfo.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)

Provides access to properties and methods exposed by an object.(Inherited from PropertyInfo.)

NameDescription
System_CAPS_pubmethodGetCustomAttribute(Type)

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttribute(Type, Boolean)

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttribute<T>()

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttribute<T>(Boolean)

Overloaded. Retrieves a custom attribute of a specified type that is applied to a specified member, and optionally inspects the ancestors of that member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes()

Overloaded. Retrieves a collection of custom attributes that are applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes(Type)

Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodGetCustomAttributes<T>(Boolean)

Overloaded. Retrieves a collection of custom attributes of a specified type that are applied to a specified member, and optionally inspects the ancestors of that member.(Defined by CustomAttributeExtensions.)

System_CAPS_pubmethodIsDefined(Type)

Overloaded. Indicates whether custom attributes of a specified type are applied to a specified member.(Defined by CustomAttributeExtensions.)

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: