ESRI.ArcGIS.ADF
AddItem(Guid) Method
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF.BaseClasses Namespace > BaseCommandBar Class > AddItem Method : AddItem(Guid) Method




itemGuid
The Guid of the command item
Add a command item to the command bar by a Guid.

Syntax

Visual Basic (Declaration) 
Protected Overloads Sub AddItem( _
   ByVal itemGuid As Guid _
) 
Visual Basic (Usage)Copy Code
Dim instance As BaseCommandBar
Dim itemGuid As Guid
 
instance.AddItem(itemGuid)
C# 
protected void AddItem( 
   Guid itemGuid
)

Parameters

itemGuid
The Guid of the command item

Remarks

Note to inheritors: Call this method to add an item to your command bar definition. You should define your command bar in the constructor.

See Also

© 2010 All Rights Reserved.