Grammar.LoadLocalizedGrammarFromType(Type, Object[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static System::Speech::Recognition::Grammar ^ LoadLocalizedGrammarFromType(Type ^ type, ... cli::array <System::Object ^> ^ onInitParameters);
public static System.Speech.Recognition.Grammar LoadLocalizedGrammarFromType (Type type, params object[] onInitParameters);
static member LoadLocalizedGrammarFromType : Type * obj[] -> System.Speech.Recognition.Grammar
Public Shared Function LoadLocalizedGrammarFromType (type As Type, ParamArray onInitParameters As Object()) As Grammar
Parameters
- onInitParameters
- Object[]
Parameters to be passed to an initialization method of the localized object based on Grammar. This parameter may be null.
Returns
The LoadLocalizedGrammarFromType
method returns a valid object based on Grammar, or null
if there has been an error.
Remarks
Localized grammars obtained with LoadLocalizedGrammarFromType
are typically strongly-typed (see IsStg for more information on strongly typed grammars). If onInitParameters
is a null reference (Nothing in Visual Basic) the localized grammar should have either no initialization method, or a method that takes no arguments.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기