Partager via


Declarations.IsPerfectMatch(String, Int32) Method

Definition

Determines whether the specified text matches all of the specified item.

public:
 virtual bool IsPerfectMatch(System::String ^ textSoFar, int index);
public:
 virtual bool IsPerfectMatch(Platform::String ^ textSoFar, int index);
 virtual bool IsPerfectMatch(std::wstring const & textSoFar, int index);
public virtual bool IsPerfectMatch (string textSoFar, int index);
abstract member IsPerfectMatch : string * int -> bool
override this.IsPerfectMatch : string * int -> bool
Public Overridable Function IsPerfectMatch (textSoFar As String, index As Integer) As Boolean

Parameters

textSoFar
String

[in] A string containing the text typed by the user and to be matched.

index
Int32

[in] The index of the item to compare against.

Returns

Returns true if the specified text is at the beginning of the specified item; otherwise, returns false.

Applies to