Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the specified text matches all of the specified item.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public Overridable Function IsPerfectMatch ( _
textSoFar As String, _
index As Integer _
) As Boolean
public virtual bool IsPerfectMatch(
string textSoFar,
int index
)
public:
virtual bool IsPerfectMatch(
String^ textSoFar,
int index
)
abstract IsPerfectMatch :
textSoFar:string *
index:int -> bool
override IsPerfectMatch :
textSoFar:string *
index:int -> bool
public function IsPerfectMatch(
textSoFar : String,
index : int
) : boolean
Parameters
textSoFar
Type: String[in] A string containing the text typed by the user and to be matched.
index
Type: Int32[in] The index of the item to compare against.
Return Value
Type: Boolean
Returns true if the specified text is at the beginning of the specified item; otherwise, returns false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.