Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateInstance

SpObjectToken CreateInstance method (SAPI 5.3)

Speech API 5.3
Microsoft Speech API 5.3

Object: SpObjectToken

CreateInstance Method


The CreateInstance method creates an instance of the object represented by the token.


SpObjectToken.CreateInstance(
     [pUnkOuter As IUnknown = Nothing],
     [ClsContext As SpeechTokenContext = STCALL]
) As IUnknown

Parameters

pUnkOuter
[Optional] Specifies the pUnkOuter. By default, the Nothing value is used.
ClsContext
[Optional] Specifies the ClsContext. By default STCALL is used.

Return Value

An IUnknown object, representing the object instantiated.


Example

For an example of the use of the CreateInstance method, see the code example in the SpAudioFormat Type section.

Show:
© 2015 Microsoft