Share via


IBabelService::Init Method

Specifies the language selected by the user in the Visual Studio environment.

HRESULT Init ( 
   LCID language,
   long reserved
);

Parameters

  • language
    [in] Specifies the language selected by the user in the Visual Studio environment.

  • reserved
    [in] Specifies an IServiceProvider object.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This is the first method called by the Babel Package.

The default Babel implementation does nothing and does not forward the call to any method that can be overridden.

If you need to implement this method, you must either modify the existing Babel Package common code (Babel\Common\stdservice_.cpp) or implement your language service to implement the IBabelService Interface directly (see Implementing the IBabelService Interface).

See Also

Concepts

Implementing the IBabelService Interface

Reference

IBabelService Interface