Declarations::IsPerfectMatch Method (String^, Int32)

 

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

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
virtual bool IsPerfectMatch(
	String^ textSoFar,
	int index
)

Parameters

textSoFar
Type: System::String^

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

index
Type: System::Int32

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

Return Value

Type: System::Boolean

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

Return to top
Show: