共用方式為


FindData.SearchString Property

Gets or sets the string to use in the search.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'宣告
Public Property SearchString As String
public string SearchString { get; set; }
public:
property String^ SearchString {
    String^ get ();
    void set (String^ value);
}
member SearchString : string with get, set
function get SearchString () : String
function set SearchString (value : String)

Property Value

Type: System.String
The string to use in the search.

Exceptions

Exception Condition
ArgumentNullException

The value is nulla null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

The value is an empty string.

.NET Framework Security

See Also

Reference

FindData Structure

Microsoft.VisualStudio.Text.Operations Namespace