This document is archived and information here might be outdated. Recommended version. |
The extension at the specified index.
[Visual Basic .NET] Public Function get_Extension ( _ ByVal index As Integer _ ) As IExtension
[C#] public IExtension get_Extension ( int index );
[C++]
HRESULT get_Extension(
long index,
IExtension** Extension
);
[C++] Parameters index [in]
index is a parameter of type long Extension [out, retval]
Extension is a parameter of type IExtension**
Returns the extension at the specified index from the extensions currently loaded in the application. The first extension has an index of 0 and the last extension has in index of ExtensionCount - 1.
This is not the only way to get a reference to an extension; the IApplication interface has FindExtensionByCLSID and FindExtensionByName methods.