_PropertyInfo.CanRead 屬性

定義

為 COM 物件提供與版本無關的 CanRead 屬性之存取權。

public:
 property bool CanRead { bool get(); };
public bool CanRead { get; }
member this.CanRead : bool
Public ReadOnly Property CanRead As Boolean

屬性值

如果可讀取這個屬性,則為 true,否則為 false

備註

此屬性適用於從 Unmanaged 程式代碼存取 Managed 類別,不應從 Managed 程式代碼呼叫。

屬性 CanRead 會取得值,指出是否可以讀取屬性。

適用於