This is a convenience method for use by subclasses to retrieve a specific CommandInfo from a collection of CommandInfos based on the type and ID of the underlying command. It throws a CommandNotFoundException if a CommandInfo with a command of the specified type and ID cannot be found.

Namespace:  Endeca.Web.Url.Seo.Utility
Assembly:  Endeca.Web.Url.Seo (in Endeca.Web.Url.Seo.dll) Version: (


public static CommandInfo FindCommandInfo<T>(
	CommandInfoCollection commands,
	string id
where T : EndecaCommand
Visual Basic (Declaration)
Public Shared Function FindCommandInfo(Of T As EndecaCommand) ( _
	commands As CommandInfoCollection, _
	id As String _
) As CommandInfo
Visual C++
generic<typename T>
where T : EndecaCommand
static CommandInfo^ FindCommandInfo(
	CommandInfoCollection^ commands, 
	String^ id


Type: CommandInfoCollection
The collection of commands to search.
Type: System..::.String
The ID of the command for which to search.

Type Parameters

The type of the command for which to search.

Return Value

The CommandInfo of the command found.

See Also