Class LicensedDataExtensionClass
- Namespace
- ESRI.ArcGIS.DatasourcesFile
- Assembly
- ESRI.Server.DatasourcesFile.dll
[Guid("39BC41A4-B140-4F7B-B1C9-ACCD507EE339")]
[ClassInterface(ClassInterfaceType.None)]
public class LicensedDataExtensionClass : LicensedDataExtension, IAutoExtension, IExtension, IDataLicenseManager
- Inheritance
-
LicensedDataExtensionClass
- Implements
- Inherited Members
Constructors
LicensedDataExtensionClass()
public LicensedDataExtensionClass()
Explicit Interface Implementations
AddLicenseFromFile(string)
Adds license information.
virtual void AddLicenseFromFile(string bstrLicenseFileName)
Parameters
bstrLicenseFileNamestring
Count
Number of license information.
virtual int Count { get; }
Returns
GetLicenseInfo(int)
Returns license information by index.
virtual IDataLicenseInfo GetLicenseInfo(int nIdx)
Parameters
nIdxint
Returns
GetLicenseInfoFromFile(string)
Returns license information by file name.
virtual IDataLicenseInfo GetLicenseInfoFromFile(string bstrLicenseFileName)
Parameters
bstrLicenseFileNamestring
Returns
Name
The name of the extension.
virtual string Name { get; }
Returns
Remarks
When implementing IExtension to create a custom extension, use the Name property to set the name of this extension.
If you implement persistence (e.g. IPersistVariant) for the extension, the length of the Name property cannot exceed 31 characters.
RemoveLicense(int)
Removes license information.
virtual void RemoveLicense(int nIdx)
Parameters
nIdxint
Shutdown()
Shuts down the extension.
virtual void Shutdown()
Remarks
When implementing IExtension to create a custom extension, use the Shutdown method to perform some action when the extension gets unloaded.
Startup(ref object)
Starts up the extension with the given initialization data.
virtual void Startup(ref object initializationData)
Parameters
initializationDataobject
Remarks
When implementing IExtension to create a custom extension, use the Startup method to perform some action when the extension gets loaded.
The following list is an example of some of the common object types for the initializationData parameter.
Extension Category initializationData object type
ESRI Mx Application Application (IMxApplication)
ESRI Gx Applcation Application (IGxApplication)
ESRI Editor Extensions Editor (IEditor)