Export (0) Print
Expand All

_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)

[CLSCompliantAttribute(false)]
[ComVisibleAttribute(true)]
[GuidAttribute("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface _PropertyInfo

The _PropertyInfo type exposes the following members.

  NameDescription
Public propertyAttributesProvides COM objects with version-independent access to the Attributes property.
Public propertyCanReadProvides COM objects with version-independent access to the CanRead property.
Public propertyCanWriteProvides COM objects with version-independent access to the CanWrite property.
Public propertyDeclaringTypeProvides COM objects with version-independent access to the DeclaringType property.
Public propertyIsSpecialNameProvides COM objects with version-independent access to the IsSpecialName property.
Public propertyMemberTypeProvides COM objects with version-independent access to the MemberType property.
Public propertyNameProvides COM objects with version-independent access to the Name property.
Public propertyPropertyTypeProvides COM objects with version-independent access to the PropertyType property.
Public propertyReflectedTypeProvides COM objects with version-independent access to the ReflectedType property.
Top

  NameDescription
Public methodEqualsProvides COM objects with version-independent access to the Equals method.
Public methodGetAccessors()Provides COM objects with version-independent access to the GetAccessors method.
Public methodGetAccessors(Boolean)Provides COM objects with version-independent access to the GetAccessors method.
Public methodGetCustomAttributes(Boolean)Provides COM objects with version-independent access to the GetCustomAttributes method.
Public methodGetCustomAttributes(Type, Boolean)Provides COM objects with version-independent access to the GetCustomAttributes method.
Public methodGetGetMethod()Provides COM objects with version-independent access to the GetGetMethod method.
Public methodGetGetMethod(Boolean)Provides COM objects with version-independent access to the GetGetMethod method.
Public methodGetHashCodeProvides COM objects with version-independent access to the GetHashCode method.
Public methodGetIDsOfNamesMaps a set of names to a corresponding set of dispatch identifiers.
Public methodGetIndexParametersProvides COM objects with version-independent access to the GetIndexParameters method.
Public methodGetSetMethod()Provides COM objects with version-independent access to the GetSetMethod method.
Public methodGetSetMethod(Boolean)Provides COM objects with version-independent access to the GetSetMethod method.
Public methodGetTypeProvides COM objects with version-independent access to the GetType method.
Public methodGetTypeInfoRetrieves the type information for an object, which can be used to get the type information for an interface.
Public methodGetTypeInfoCountRetrieves the number of type information interfaces that an object provides (either 0 or 1).
Public methodGetValue(Object, Object[])Provides COM objects with version-independent access to the GetValue method.
Public methodGetValue(Object, BindingFlags, Binder, Object[], CultureInfo)Provides COM objects with version-independent access to the GetValue method.
Public methodInvokeProvides access to properties and methods exposed by an object.
Public methodIsDefinedProvides COM objects with version-independent access to the IsDefined method.
Public methodSetValue(Object, Object, Object[])Provides COM objects with version-independent access to the SetValue method.
Public methodSetValue(Object, Object, BindingFlags, Binder, Object[], CultureInfo)Provides COM objects with version-independent access to the SetValue method.
Public methodToStringProvides 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.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft