SpellChecker.SpellCheck Method
Implements the Web service that exposes the spelling checker.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function SpellCheck ( _
chunksToSpell As String(), _
declaredLanguage As Integer, _
useLad As Boolean _
) As SpellCheckResults
'Usage
Dim instance As SpellChecker
Dim chunksToSpell As String()
Dim declaredLanguage As Integer
Dim useLad As Boolean
Dim returnValue As SpellCheckResults
returnValue = instance.SpellCheck(chunksToSpell, _
declaredLanguage, useLad)
[WebMethodAttribute]
public SpellCheckResults SpellCheck(
string[] chunksToSpell,
int declaredLanguage,
bool useLad
)
Parameters
- chunksToSpell
Type: []
Chunks of text to spell check.
- declaredLanguage
Type: System.Int32
Language to spell check again.
- useLad
Type: System.Boolean
Detect language if possible.
Return Value
Type: Microsoft.SharePoint.Publishing.SpellCheckResults
A SpellCheckResults structure that contains information about the spelling checker analysis.
Remarks
A chunk can consist of multiple words, all of which are analyzed at the same time.