SearchExpression.SearchType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the SearchType value that determines where in the string the search occurs.
public:
property System::Web::UI::WebControls::Expressions::SearchType SearchType { System::Web::UI::WebControls::Expressions::SearchType get(); void set(System::Web::UI::WebControls::Expressions::SearchType value); };
public System.Web.UI.WebControls.Expressions.SearchType SearchType { get; set; }
member this.SearchType : System.Web.UI.WebControls.Expressions.SearchType with get, set
Public Property SearchType As SearchType
Property Value
The type of search to perform.
Remarks
The SearchType property uses the SearchType enumeration that contains the search types to use in an instance of the SearchExpression class.
The following table lists the possible enumeration values.
Enumeration | Description |
---|---|
StartsWith | Indicates a search that starts anywhere in a field. |
Contains | Indicates a search that starts at the beginning of a field. |
EndsWith | Indicates a search that at the end of a field. |
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.