語言

_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 物件存取的類別成員的 vtable 順序 System.Reflection.PropertyInfo 。

屬性

名稱 Description
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 屬性的版本無關存取權。

方法

名稱 Description
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)

將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。

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() 權。

適用於