在衍生類別中覆寫時,傳回的列舉包含要針對指定型別轉譯的屬性。
命名空間: Microsoft.Windows.Design.Services
組件: Microsoft.Windows.Design.Interaction (在 Microsoft.Windows.Design.Interaction.dll 中)
語法
'宣告
Public MustOverride Function GetProperties ( _
itemType As Type _
) As IEnumerable(Of PropertyIdentifier)
public abstract IEnumerable<PropertyIdentifier> GetProperties(
Type itemType
)
public:
virtual IEnumerable<PropertyIdentifier>^ GetProperties(
Type^ itemType
) abstract
abstract GetProperties :
itemType:Type -> IEnumerable<PropertyIdentifier>
public abstract function GetProperties(
itemType : Type
) : IEnumerable<PropertyIdentifier>
參數
- itemType
型別:System.Type
為其取得要轉譯屬性的型別。
傳回值
型別:System.Collections.Generic.IEnumerable<PropertyIdentifier>
包含要針對指定型別轉譯之屬性的列舉 (若有的話)。
備註
自訂控制項作者會識別想要擷取的屬性,並將屬性加入至 Properties 以根據指定的型別進行轉譯。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.Windows.Design.Services 命名空間