編輯

共用方式為


FilterFactory.GetFilterVirtualPath(MetaColumn, String) Method

Definition

Gets the virtual path of the filter template.

public:
 virtual System::String ^ GetFilterVirtualPath(System::Web::DynamicData::MetaColumn ^ column, System::String ^ filterUIHint);
public virtual string GetFilterVirtualPath (System.Web.DynamicData.MetaColumn column, string filterUIHint);
abstract member GetFilterVirtualPath : System.Web.DynamicData.MetaColumn * string -> string
override this.GetFilterVirtualPath : System.Web.DynamicData.MetaColumn * string -> string
Public Overridable Function GetFilterVirtualPath (column As MetaColumn, filterUIHint As String) As String

Parameters

column
MetaColumn

The data column to which the filter template applies.

filterUIHint
String

The filter template to use.

Returns

The virtual path of the filter template.

Exceptions

column is null.

Remarks

By default, filter templates are located in the ~/DynamicData/Filers folder.

This method determines the virtual path of the folder that contains the field template. Derived classes can override this method to provide filter templates from a different virtual path.

Applies to