_PropertyInfo 接口

定义

重要

此 API 不符合 CLS。

向非托管代码公开 PropertyInfo 类的公共成员。

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
派生
属性

注解

此接口用于从非托管代码访问托管类,不应从托管代码调用。

此接口保留非托管 COM 对象可以访问的类成员的 System.Reflection.PropertyInfo vtable 顺序。

属性

Attributes

为 COM 对象提供对 Attributes 属性的与版本无关的访问。

CanRead

为 COM 对象提供对 CanRead 属性的与版本无关的访问。

CanWrite

为 COM 对象提供对 CanWrite 属性的与版本无关的访问。

DeclaringType

为 COM 对象提供对 DeclaringType 属性的与版本无关的访问。

IsSpecialName

为 COM 对象提供对 IsSpecialName 属性的与版本无关的访问。

MemberType

为 COM 对象提供对 MemberType 属性的与版本无关的访问。

Name

为 COM 对象提供对 Name 属性的与版本无关的访问。

PropertyType

为 COM 对象提供对 PropertyType 属性的与版本无关的访问。

ReflectedType

为 COM 对象提供对 ReflectedType 属性的与版本无关的访问。

方法

Equals(Object)

为 COM 对象提供对 Equals(Object) 方法的与版本无关的访问。

GetAccessors()

为 COM 对象提供对 GetAccessors() 方法的与版本无关的访问。

GetAccessors(Boolean)

为 COM 对象提供对 GetAccessors(Boolean) 方法的与版本无关的访问。

GetCustomAttributes(Boolean)

为 COM 对象提供对 GetCustomAttributes(Boolean) 方法的与版本无关的访问。

GetCustomAttributes(Type, Boolean)

为 COM 对象提供对 GetCustomAttributes(Type, Boolean) 方法的与版本无关的访问。

GetGetMethod()

为 COM 对象提供对 GetGetMethod() 方法的与版本无关的访问。

GetGetMethod(Boolean)

为 COM 对象提供对 GetGetMethod(Boolean) 方法的与版本无关的访问。

GetHashCode()

为 COM 对象提供对 GetHashCode() 方法的与版本无关的访问。

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

将一组名称映射为对应的一组调度标识符。

GetIndexParameters()

为 COM 对象提供对 GetIndexParameters() 方法的与版本无关的访问。

GetSetMethod()

为 COM 对象提供对 GetSetMethod() 方法的与版本无关的访问。

GetSetMethod(Boolean)

为 COM 对象提供对 GetSetMethod(Boolean) 方法的与版本无关的访问。

GetType()

为 COM 对象提供对 GetType() 方法的与版本无关的访问。

GetTypeInfo(UInt32, UInt32, IntPtr)

检索对象的类型信息,然后可以使用该信息获取接口的类型信息。

GetTypeInfoCount(UInt32)

检索对象提供的类型信息接口的数量(0 或 1)。

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

为 COM 对象提供对 GetValue(Object, BindingFlags, Binder, Object[], CultureInfo) 方法的与版本无关的访问。

GetValue(Object, Object[])

为 COM 对象提供对 GetValue(Object, Object[]) 方法的与版本无关的访问。

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

提供对某一对象公开的属性和方法的访问。

IsDefined(Type, Boolean)

为 COM 对象提供对 IsDefined(Type, Boolean) 方法的与版本无关的访问。

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

为 COM 对象提供对 SetValue(Object, Object, BindingFlags, Binder, CultureInfo) 方法的与版本无关的访问。

SetValue(Object, Object, Object[])

为 COM 对象提供对 SetValue(Object, Object, Object[]) 方法的与版本无关的访问。

ToString()

为 COM 对象提供对 ToString() 方法的与版本无关的访问。

适用于