在派生类中重写时,返回一个包含要针对指定的类型进行转换的属性的枚举。
命名空间: 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 命名空间