Version

GetItemId<T> Method (XamRibbonProxy)

Returns the identifier of the specified item from the input collection
Syntax
'Declaration
 
Protected Function GetItemId(Of T)( _
   ByVal oItemCollection As System.Object, _
   ByVal referenceItem As T _
) As System.Object
protected System.object GetItemId<T>( 
   System.object oItemCollection,
   T referenceItem
)
protected: System.Object* GetItemId<T>( 
   System.Object* oItemCollection,
   T* referenceItem
) 

Parameters

oItemCollection
The input collection
referenceItem
The specified item

Type Parameters

T
Type of the specified item

Return Value

Returns the identifier of the specified item from the input 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