This topic has not yet been rated - Rate this topic

_PropertyInfo Interface

Exposes the public members of the System.Reflection.PropertyInfo class to unmanaged code.

This API is not CLS-compliant. 

Namespace:  System.Runtime.InteropServices
Assembly:  mscorlib (in mscorlib.dll)
[ComVisibleAttribute(true)]
[CLSCompliantAttribute(false)]
[GuidAttribute("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface _PropertyInfo

The _PropertyInfo type exposes the following members.

  Name Description
Public property Attributes Provides COM objects with version-independent access to the Attributes property.
Public property CanRead Provides COM objects with version-independent access to the CanRead property.
Public property CanWrite Provides COM objects with version-independent access to the CanWrite property.
Public property DeclaringType Provides COM objects with version-independent access to the DeclaringType property.
Public property IsSpecialName Provides COM objects with version-independent access to the IsSpecialName property.
Public property MemberType Provides COM objects with version-independent access to the MemberType property.
Public property Name Provides COM objects with version-independent access to the Name property.
Public property PropertyType Provides COM objects with version-independent access to the PropertyType property.
Public property ReflectedType Provides COM objects with version-independent access to the ReflectedType property.
Top
  Name Description
Public method Equals Provides COM objects with version-independent access to the Equals method.
Public method GetAccessors() Provides COM objects with version-independent access to the GetAccessors method.
Public method GetAccessors(Boolean) Provides COM objects with version-independent access to the GetAccessors method.
Public method GetCustomAttributes(Boolean) Provides COM objects with version-independent access to the GetCustomAttributes method.
Public method GetCustomAttributes(Type, Boolean) Provides COM objects with version-independent access to the GetCustomAttributes method.
Public method GetGetMethod() Provides COM objects with version-independent access to the GetGetMethod method.
Public method GetGetMethod(Boolean) Provides COM objects with version-independent access to the GetGetMethod method.
Public method GetHashCode Provides COM objects with version-independent access to the GetHashCode method.
Public method GetIDsOfNames Maps a set of names to a corresponding set of dispatch identifiers.
Public method GetIndexParameters Provides COM objects with version-independent access to the GetIndexParameters method.
Public method GetSetMethod() Provides COM objects with version-independent access to the GetSetMethod method.
Public method GetSetMethod(Boolean) Provides COM objects with version-independent access to the GetSetMethod method.
Public method GetType Provides COM objects with version-independent access to the GetType method.
Public method GetTypeInfo Retrieves the type information for an object, which can be used to get the type information for an interface.
Public method GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Public method GetValue(Object, Object[]) Provides COM objects with version-independent access to the GetValue method.
Public method GetValue(Object, BindingFlags, Binder, Object[], CultureInfo) Provides COM objects with version-independent access to the GetValue method.
Public method Invoke Provides access to properties and methods exposed by an object.
Public method IsDefined Provides COM objects with version-independent access to the IsDefined method.
Public method SetValue(Object, Object, Object[]) Provides COM objects with version-independent access to the SetValue method.
Public method SetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo) Provides COM objects with version-independent access to the SetValue method.
Public method ToString Provides COM objects with version-independent access to the ToString method.
Top

This interface is for access to managed classes from unmanaged code and should not be called from managed code.

This interface preserves the vtable order of the System.Reflection.PropertyInfo class members that can be accessed by unmanaged COM objects.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ