_PropertyInfo _PropertyInfo _PropertyInfo _PropertyInfo Interface

定义

重要

此 API 不符合 CLS。

向非托管代码公开 PropertyInfo 类的公共成员。Exposes the public members of the PropertyInfo class to unmanaged code.

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

注解

此接口是用于访问托管类到从非托管代码,不应从托管代码调用。This interface is for access to managed classes from unmanaged code and should not be called from managed code.

此接口保留的 vtable 顺序System.Reflection.PropertyInfo类可以访问由非托管 COM 对象的成员。This interface preserves the vtable order of the System.Reflection.PropertyInfo class members that can be accessed by unmanaged COM objects.

属性

Attributes Attributes Attributes Attributes

为 COM 对象提供对 Attributes 属性的与版本无关的访问。Provides COM objects with version-independent access to the Attributes property.

CanRead CanRead CanRead CanRead

为 COM 对象提供对 CanRead 属性的与版本无关的访问。Provides COM objects with version-independent access to the CanRead property.

CanWrite CanWrite CanWrite CanWrite

为 COM 对象提供对 CanWrite 属性的与版本无关的访问。Provides COM objects with version-independent access to the CanWrite property.

DeclaringType DeclaringType DeclaringType DeclaringType

为 COM 对象提供对 DeclaringType 属性的与版本无关的访问。Provides COM objects with version-independent access to the DeclaringType property.

IsSpecialName IsSpecialName IsSpecialName IsSpecialName

为 COM 对象提供对 IsSpecialName 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsSpecialName property.

MemberType MemberType MemberType MemberType

为 COM 对象提供对 MemberType 属性的与版本无关的访问。Provides COM objects with version-independent access to the MemberType property.

Name Name Name Name

为 COM 对象提供对 Name 属性的与版本无关的访问。Provides COM objects with version-independent access to the Name property.

PropertyType PropertyType PropertyType PropertyType

为 COM 对象提供对 PropertyType 属性的与版本无关的访问。Provides COM objects with version-independent access to the PropertyType property.

ReflectedType ReflectedType ReflectedType ReflectedType

为 COM 对象提供对 ReflectedType 属性的与版本无关的访问。Provides COM objects with version-independent access to the ReflectedType property.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

为 COM 对象提供对 Equals(Object) 方法的版本无关的访问。Provides COM objects with version-independent access to the Equals(Object) method.

GetAccessors() GetAccessors() GetAccessors() GetAccessors()

为 COM 对象提供对 GetAccessors() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetAccessors() method.

GetAccessors(Boolean) GetAccessors(Boolean) GetAccessors(Boolean) GetAccessors(Boolean)

为 COM 对象提供对 GetAccessors(Boolean) 方法的版本无关的访问。Provides COM objects with version-independent access to the GetAccessors(Boolean) method.

GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean) GetCustomAttributes(Boolean)

为 COM 对象提供对 GetCustomAttributes(Boolean) 方法的版本无关的访问。Provides COM objects with version-independent access to the GetCustomAttributes(Boolean) method.

GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean) GetCustomAttributes(Type, Boolean)

为 COM 对象提供对 GetCustomAttributes(Type, Boolean) 方法的版本无关的访问。Provides COM objects with version-independent access to the GetCustomAttributes(Type, Boolean) method.

GetGetMethod() GetGetMethod() GetGetMethod() GetGetMethod()

为 COM 对象提供对 GetGetMethod() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetGetMethod() method.

GetGetMethod(Boolean) GetGetMethod(Boolean) GetGetMethod(Boolean) GetGetMethod(Boolean)

为 COM 对象提供对 GetGetMethod(Boolean) 方法的版本无关的访问。Provides COM objects with version-independent access to the GetGetMethod(Boolean) method.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

为 COM 对象提供对 GetHashCode() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetHashCode() method.

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

将一组名称映射为对应的一组调度标识符。Maps a set of names to a corresponding set of dispatch identifiers.

GetIndexParameters() GetIndexParameters() GetIndexParameters() GetIndexParameters()

为 COM 对象提供对 GetIndexParameters() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetIndexParameters() method.

GetSetMethod(Boolean) GetSetMethod(Boolean) GetSetMethod(Boolean) GetSetMethod(Boolean)

为 COM 对象提供对 GetSetMethod(Boolean) 方法的版本无关的访问。Provides COM objects with version-independent access to the GetSetMethod(Boolean) method.

GetSetMethod() GetSetMethod() GetSetMethod() GetSetMethod()

为 COM 对象提供对 GetSetMethod() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetSetMethod() method.

GetType() GetType() GetType() GetType()

为 COM 对象提供对 GetType() 方法的版本无关的访问。Provides COM objects with version-independent access to the GetType() method.

GetTypeInfo(UInt32, UInt32, IntPtr) GetTypeInfo(UInt32, UInt32, IntPtr) GetTypeInfo(UInt32, UInt32, IntPtr) 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) GetTypeInfoCount(UInt32) GetTypeInfoCount(UInt32) GetTypeInfoCount(UInt32)

检索对象提供的类型信息接口的数量(0 或 1)。Retrieves the number of type information interfaces that an object provides (either 0 or 1).

GetValue(Object, Object[]) GetValue(Object, Object[]) GetValue(Object, Object[]) GetValue(Object, Object[])

为 COM 对象提供对 GetValue(Object, Object[]) 方法的版本无关的访问。Provides COM objects with version-independent access to the GetValue(Object, Object[]) method.

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

为 COM 对象提供对 GetValue(Object, BindingFlags, Binder, Object[], CultureInfo) 方法的版本无关的访问。Provides COM objects with version-independent access to the GetValue(Object, BindingFlags, Binder, Object[], CultureInfo) method.

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

提供对某一对象公开的属性和方法的访问。Provides access to properties and methods exposed by an object.

IsDefined(Type, Boolean) IsDefined(Type, Boolean) IsDefined(Type, Boolean) IsDefined(Type, Boolean)

为 COM 对象提供对 IsDefined(Type, Boolean) 方法的版本无关的访问。Provides COM objects with version-independent access to the IsDefined(Type, Boolean) method.

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

为 COM 对象提供对 SetValue(Object, Object, BindingFlags, Binder, CultureInfo) 方法的版本无关的访问。Provides COM objects with version-independent access to the SetValue(Object, Object, BindingFlags, Binder, CultureInfo) method.

SetValue(Object, Object, Object[]) SetValue(Object, Object, Object[]) SetValue(Object, Object, Object[]) SetValue(Object, Object, Object[])

为 COM 对象提供对 SetValue(Object, Object, Object[]) 方法的版本无关的访问。Provides COM objects with version-independent access to the SetValue(Object, Object, Object[]) method.

ToString() ToString() ToString() ToString()

为 COM 对象提供对 ToString() 方法的版本无关的访问。Provides COM objects with version-independent access to the ToString() method.

适用于