TreeNode.AOTbitmapId Method

Definition

Returns the resource ID of the bitmap of the tree node.

public:
 virtual int AOTbitmapId();
[Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly]
public virtual int AOTbitmapId ();
[<Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnly>]
abstract member AOTbitmapId : unit -> int
override this.AOTbitmapId : unit -> int
Public Overridable Function AOTbitmapId () As Integer

Returns

The resource ID of the bitmap of the tree node.

Attributes
Microsoft.Dynamics.BusinessPlatform.SharedTypes.InternalUseOnlyAttribute

Remarks

The following example prints the resource ID of the Extended Data Types node in the Application Object Tree (AOT).

#AOT 
static void myJobAOTbitmapId(Args _args) 
{ 
    treeNode treeNode = TreeNode::findNode(#ExtendedDataTypesPath); 
    print treeNode.AOTbitmapId(); 
    pause; 
}

This job will print the integer 895. If you run the Tutorial resources form, you can see the bitmap and verify that it is the same as the one that is used for Extended Data Types in the AOT.

Applies to