FilterElement.CustomType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置要用作筛选器的自定义类型的完全限定类型名称。
public:
property System::String ^ CustomType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("customType", DefaultValue=null, Options=System.Configuration.ConfigurationPropertyOptions.None)]
public string CustomType { get; set; }
[<System.Configuration.ConfigurationProperty("customType", DefaultValue=null, Options=System.Configuration.ConfigurationPropertyOptions.None)>]
member this.CustomType : string with get, set
Public Property CustomType As String
属性值
完全限定类型。
- 属性
注解
如果 FilterType 设置为 Custom,则 CustomType 为要创建的类的完全限定类型名称。 FilterData 还可以包含在计算 CustomType 筛选器的过程中要使用的值。 CustomType 必须实现一个构造函数,该构造函数接受一个包含 FilterData 信息的字符串值。
有关详细信息,请参阅 FilterData。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈