共用方式為


ResourceType.Properties 屬性

取得在此類型上宣告之屬性的清單,此清單僅包含在類型 (而非基底類型) 上定義的屬性。

命名空間:  System.Data.Services.Providers
組件:  Microsoft.Data.Services (在 Microsoft.Data.Services.dll 中)

語法

'宣告
Public ReadOnly Property Properties As ReadOnlyCollection(Of ResourceProperty)
    Get
'用途
Dim instance As ResourceType
Dim value As ReadOnlyCollection(Of ResourceProperty)

value = instance.Properties
public ReadOnlyCollection<ResourceProperty> Properties { get; }
public:
property ReadOnlyCollection<ResourceProperty^>^ Properties {
    ReadOnlyCollection<ResourceProperty^>^ get ();
}
member Properties : ReadOnlyCollection<ResourceProperty>
function get Properties () : ReadOnlyCollection<ResourceProperty>

屬性值

型別:System.Collections.ObjectModel.ReadOnlyCollection<ResourceProperty>
ResourcePropertyReadOnlyCollection<T>

請參閱

參考

ResourceType 類別

System.Data.Services.Providers 命名空間