_PropertyInfo 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
重要
此 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 屬性的版本無關存取權。 |