FilterElement.CustomType 属性

定义

获取或设置要用作筛选器的自定义类型的完全限定类型名称。

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

适用于