BCGControlBar Library for .NET
ObjectFromID Method




The identifier of the command object to get from collection.
Gets first occurance of the command object from the item collection with a specified identifier.
Syntax
'Declaration
 
Public Overridable Function ObjectFromID( _
   ByVal id As Integer _
) As ICommandObject
'Usage
 
Dim instance As CommandPanel
Dim id As Integer
Dim value As ICommandObject
 
value = instance.ObjectFromID(id)
public virtual ICommandObject ObjectFromID( 
   int id
)
public: virtual ICommandObject* ObjectFromID( 
   int id
) 
public:
virtual ICommandObject^ ObjectFromID( 
   int id
) 

Parameters

id
The identifier of the command object to get from collection.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CommandPanel Class
CommandPanel Members

Send Feedback