Tarkistaa oikeinkirjoituksen annetulle sanalle vertaamalla sitä annettuun oikeinkirjoitettuun muotoon.

Namespace: GameControls
Assembly: GameControls (in GameControls.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public bool Check(
	string typedWord,
	string correctSpelling
)
Visual Basic
Public Function Check ( _
	typedWord As String, _
	correctSpelling As String _
) As Boolean
Visual C++
public:
bool Check(
	String^ typedWord, 
	String^ correctSpelling
)

Parameters

typedWord
Type: System..::..String
Tarkistettava muoto.
correctSpelling
Type: System..::..String
Oikeinkirjoitettu muoto.

Return Value

True jos sana oli oikein, false jos väärin.

See Also