ArcFM Desktop Developer Guide
CategoriesToReg Method (IMMRegInCat)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Use this optional parameter to designate the product into which the class is registered. For example, if you want to register a component in Designer only, this parameter would check to ensure the product code is mmRPDesigner. The available product codes are found in the mmRegProduct enumeration.
Allows you to specify the component category (or categories) into which a class should be registered. Available component categories are listed in the mmCategories enumeration.
Syntax
'Declaration
 
Function CategoriesToReg( _
   ByVal MMProduct As mmRegProduct _
) As Object
'Usage
 
Dim instance As IMMRegInCat
Dim MMProduct As mmRegProduct
Dim value As Object
 
value = instance.CategoriesToReg(MMProduct)
object CategoriesToReg( 
   mmRegProduct MMProduct
)

Parameters

MMProduct
Use this optional parameter to designate the product into which the class is registered. For example, if you want to register a component in Designer only, this parameter would check to ensure the product code is mmRPDesigner. The available product codes are found in the mmRegProduct enumeration.

Return Value

Returns a collection of component categories (mmCatIDs) into which the class will be registered.
Remarks
The installer must call the IMMRegInCat.exe application to register all .dlls upon installation. If you use the MMProduct parameter within the IMMRegInCat interface, you must ensure the IMMRegInCat.exe application registers the component in the correct category.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

IMMRegInCat Interface
IMMRegInCat Members

 

 


Send Comment