Szerkesztés

Megosztás a következőn keresztül:


DeviceFilterElement Constructors

Definition

Initializes a new instance of the DeviceFilterElement class. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

Overloads

DeviceFilterElement(String, String, String)

Initializes a new instance of the DeviceFilterElement class as a comparison filter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

DeviceFilterElement(String, Type, String)

Initializes a new instance of the DeviceFilterElement class as an evaluator filter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

DeviceFilterElement(String, String, String)

Initializes a new instance of the DeviceFilterElement class as a comparison filter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 DeviceFilterElement(System::String ^ name, System::String ^ compareName, System::String ^ argument);
public DeviceFilterElement (string name, string compareName, string argument);
new System.Web.Mobile.DeviceFilterElement : string * string * string -> System.Web.Mobile.DeviceFilterElement
Public Sub New (name As String, compareName As String, argument As String)

Parameters

name
String

The name by which the evaluator will be identified.

compareName
String

The capability evaluated by the comparison evaluator.

argument
String

The argument against which the capability should be compared.

Remarks

This constructor is used to create a comparison filter.

See also

Applies to

DeviceFilterElement(String, Type, String)

Initializes a new instance of the DeviceFilterElement class as an evaluator filter. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 DeviceFilterElement(System::String ^ name, Type ^ filterClass, System::String ^ method);
public DeviceFilterElement (string name, Type filterClass, string method);
new System.Web.Mobile.DeviceFilterElement : string * Type * string -> System.Web.Mobile.DeviceFilterElement
Public Sub New (name As String, filterClass As Type, method As String)

Parameters

name
String

The name by which the evaluator will be identified.

filterClass
Type

The class type that contains the evaluator delegate.

method
String

The method in filterClass that is the evaluator delegate.

Remarks

This is the constructor for the evaluator (or delegate-based) filter.

Applies to