IJITExtensionManager Interface

Provides access to the Just In Time Extension Manager.

Description

The IJITExtensionManager interface provides properties and methods for inserting, removing and managing JIT (just-in-time) extensions. JIT extensions are like standard extensions, however they are not started up at application startup, but only when they are required.

IJITExtensionManager is not normally called by client code.

See the About Extensions topics for more details on just-in-time extensions.

Members

Name Description
Method InsertExtension Adds an extension to the manager without initialization.
Method IsExtensionEnabled Indicates whether the extension is currently checked on.
Method IsLoaded Indicates whether the extension is currently loaded.
Read-only property JITExtensionCLSID Retrieves the CLSID of the JIT Extension at index.
Read-only property JITExtensionCount The number of just in time extensions registered with the application.
Method RemoveExtension Removes a just in time extension from the manager.

IJITExtensionManager.InsertExtension Method

Adds an extension to the manager without initialization.

Public Sub InsertExtension ( _
    ByVal pExtCLSID As UID, _
    ByVal pExtension As IExtension _
)
public void InsertExtension (
    UID pExtCLSID,
    IExtension pExtension
);

Description

Adds the specified JIT extension to the ExtensionManager. Note that a JIT extension will be loaded the first time that IApplication::FindExtensionByCLSID is called for that extension.

IJITExtensionManager.IsExtensionEnabled Method

Indicates whether the extension is currently checked on.

Public Function IsExtensionEnabled ( _
    ByVal pExtCLSID As UID _
) As Boolean
public bool IsExtensionEnabled (
    UID pExtCLSID
);

Description

Indicates whether the specified JIT extension is enabled. Use the JITExtensionCLSID property to get the UID of the extension.

IJITExtensionManager.IsLoaded Method

Indicates whether the extension is currently loaded.

Public Function IsLoaded ( _
    ByVal pID As UID _
) As Boolean
public bool IsLoaded (
    UID pID
);

Description

Indicates whether the specified JIT extension is loaded. A JIT extension will be loaded the first time that IApplication::FindExtensionByCLSID is called for that extension. Use the JITExtensionCLSID property to get the UID of the extension.

IJITExtensionManager.JITExtensionCLSID Property

Retrieves the CLSID of the JIT Extension at index.

Public Function get_JITExtensionCLSID ( _
    ByVal Index As Integer _
) As UID
public UID get_JITExtensionCLSID (
    int Index
);

Description

Returns the UID of the JIT extension at the specifed index. The first JIT extension in the collection will have an index of 0 and the last JIT extension in the collection will have an index of JITExtentionCount - 1.

IJITExtensionManager.JITExtensionCount Property

The number of just in time extensions registered with the application.

Public ReadOnly Property JITExtensionCount As Integer
public int JITExtensionCount {get;}

Description

Returns the number of JIT extensions currently in the application. This does not include any ordinary extensions.

IJITExtensionManager.RemoveExtension Method

Removes a just in time extension from the manager.

Public Sub RemoveExtension ( _
    ByVal pExtension As IExtension _
)
public void RemoveExtension (
    IExtension pExtension
);

Description

Removed the specified JIT extension from the ExtensionManager.

Classes that implement IJITExtensionManager

Classes Description
ExtensionManager Extension Manager - a singleton.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.