ArcFM Engine Developer Guide
IMMAttributedDefinition Interface
Members 


This interface specifies the table name and subtype that a compatible unit (CU) represents.
Available at Version
Product Availability
Required Licenses
.NET Assembly
Syntax
'Declaration
 
<GuidAttribute("602EF722-43EE-11D4-B8F3-0050045C48E4")>
<TypeLibTypeAttribute(TypeLibTypeFlags.FOleAutomation)>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
<ComImportAttribute()>
Public Interface IMMAttributedDefinition 
   Inherits IMMItemDefinition 
'Usage
 
Dim instance As IMMAttributedDefinition
[Guid("602EF722-43EE-11D4-B8F3-0050045C48E4")]
[TypeLibType(TypeLibTypeFlags.FOleAutomation)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport()]
public interface IMMAttributedDefinition : IMMItemDefinition  
Example

If you're trying to programmatically identify a compatible unit (CU) that is associated with a particular GIS unit (GU), you can use IMMAttributedDefinition to compare the TableName and Subtype values of the CU and GU.

 

Identify CU Associated with GU (C#) Copy Code
IMMAttributedDefinition attributeDefOfGU = (IMMAttributedDefinition) gulistItem; 
string tableNameOfGU = attributeDefOfGU.TableName; 
int subtypeOfGU = attributeDefOfGU.Subtype; 
 
ID8EnumListItem d8listItems = ((ID8List2)gulistItem).Items; 
d8listItems.Reset(); 
 
ID8ListItem d8listItem = d8listItems.Next(); 
 
while ( d8listItem != null ) 

    if ( d8listItem is IMMCompatibleUnit2 )  
    { 
        IMMCompatibleUnit2 compatibleUnit2 = (IMMCompatibleUnit2)d8listItem; 
        IMMAttributedDefinition attributeDefOfCU = (IMMAttributedDefinition) compatibleUnit2; 
 
        if (attributeDefOfCU.TableName.ToUpper() == tableNameOfGU.ToUpper() && attributeDefOfCU.Subtype == subtypeOfGU) 
        { 
            compatibleUnit2.Quantity = quantity; 
        } 
    } 
    d8listItem = d8listItems.Next(); 
}
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

IMMAttributedDefinition Members
Miner.Interop Namespace

This interface specifies the table name and subtype that a compatible unit (CU) represents.
Syntax
'Declaration
 
<GuidAttribute("602EF722-43EE-11D4-B8F3-0050045C48E4")>
<TypeLibTypeAttribute(TypeLibTypeFlags.FOleAutomation)>
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>
<ComImportAttribute()>
Public Interface IMMAttributedDefinition 
   Inherits IMMItemDefinition 
'Usage
 
Dim instance As IMMAttributedDefinition
[Guid("602EF722-43EE-11D4-B8F3-0050045C48E4")]
[TypeLibType(TypeLibTypeFlags.FOleAutomation)]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[ComImport()]
public interface IMMAttributedDefinition : IMMItemDefinition  
Example

If you're trying to programmatically identify a compatible unit (CU) that is associated with a particular GIS unit (GU), you can use IMMAttributedDefinition to compare the TableName and Subtype values of the CU and GU.

 

Identify CU Associated with GU (C#) Copy Code
IMMAttributedDefinition attributeDefOfGU = (IMMAttributedDefinition) gulistItem; 
string tableNameOfGU = attributeDefOfGU.TableName; 
int subtypeOfGU = attributeDefOfGU.Subtype; 
 
ID8EnumListItem d8listItems = ((ID8List2)gulistItem).Items; 
d8listItems.Reset(); 
 
ID8ListItem d8listItem = d8listItems.Next(); 
 
while ( d8listItem != null ) 

    if ( d8listItem is IMMCompatibleUnit2 )  
    { 
        IMMCompatibleUnit2 compatibleUnit2 = (IMMCompatibleUnit2)d8listItem; 
        IMMAttributedDefinition attributeDefOfCU = (IMMAttributedDefinition) compatibleUnit2; 
 
        if (attributeDefOfCU.TableName.ToUpper() == tableNameOfGU.ToUpper() && attributeDefOfCU.Subtype == subtypeOfGU) 
        { 
            compatibleUnit2.Quantity = quantity; 
        } 
    } 
    d8listItem = d8listItems.Next(); 
}
Inheritance Hierarchy

Miner.Interop.IMMAttributedDefinition

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

IMMAttributedDefinition Members
Miner.Interop Namespace

 

 


Send Comment