Редактиране

Споделяне чрез


_PropertyInfo Interface

Definition

Important

This API is not CLS-compliant.

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

public interface class _PropertyInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface _PropertyInfo
[System.CLSCompliant(false)]
[System.Runtime.InteropServices.Guid("F59ED4E4-E68F-3218-BD77-061AA82824BF")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
[System.Runtime.InteropServices.ComVisible(true)]
public interface _PropertyInfo
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("F59ED4E4-E68F-3218-BD77-061AA82824BF")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type _PropertyInfo = interface
[<System.CLSCompliant(false)>]
[<System.Runtime.InteropServices.Guid("F59ED4E4-E68F-3218-BD77-061AA82824BF")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type _PropertyInfo = interface
Public Interface _PropertyInfo
Derived
Attributes

Remarks

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.

Properties

Attributes

Provides COM objects with version-independent access to the Attributes property.

CanRead

Provides COM objects with version-independent access to the CanRead property.

CanWrite

Provides COM objects with version-independent access to the CanWrite property.

DeclaringType

Provides COM objects with version-independent access to the DeclaringType property.

IsSpecialName

Provides COM objects with version-independent access to the IsSpecialName property.

MemberType

Provides COM objects with version-independent access to the MemberType property.

Name

Provides COM objects with version-independent access to the Name property.

PropertyType

Provides COM objects with version-independent access to the PropertyType property.

ReflectedType

Provides COM objects with version-independent access to the ReflectedType property.

Methods

Equals(Object)

Provides COM objects with version-independent access to the Equals(Object) method.

GetAccessors()

Provides COM objects with version-independent access to the GetAccessors() method.

GetAccessors(Boolean)

Provides COM objects with version-independent access to the GetAccessors(Boolean) method.

GetCustomAttributes(Boolean)

Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean)

Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetGetMethod()

Provides COM objects with version-independent access to the GetGetMethod() method.

GetGetMethod(Boolean)

Provides COM objects with version-independent access to the GetGetMethod(Boolean) method.

GetHashCode()

Provides COM objects with version-independent access to the GetHashCode() method.

GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)

Maps a set of names to a corresponding set of dispatch identifiers.

GetIndexParameters()

Provides COM objects with version-independent access to the GetIndexParameters() method.

GetSetMethod()

Provides COM objects with version-independent access to the GetSetMethod() method.

GetSetMethod(Boolean)

Provides COM objects with version-independent access to the GetSetMethod(Boolean) method.

GetType()

Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr)

Retrieves the type information for an object, which can be used to get the type information for an interface.

GetTypeInfoCount(UInt32)

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

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

Provides COM objects with version-independent access to the GetValue(Object, BindingFlags, Binder, Object[], CultureInfo) method.

GetValue(Object, Object[])

Provides COM objects with version-independent access to the GetValue(Object, Object[]) method.

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

Provides access to properties and methods exposed by an object.

IsDefined(Type, Boolean)

Provides COM objects with version-independent access to the IsDefined(Type, Boolean) method.

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

Provides COM objects with version-independent access to the SetValue(Object, Object, BindingFlags, Binder, CultureInfo) method.

SetValue(Object, Object, Object[])

Provides COM objects with version-independent access to the SetValue(Object, Object, Object[]) method.

ToString()

Provides COM objects with version-independent access to the ToString() method.

Applies to