Partager via


ElementViewModel.GetAllCommands Method

Creates or collections all the commands related to this ElementViewModel.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel
Assembly:  Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime (in Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime.dll)

Syntax

'Declaration
Protected Overridable Function GetAllCommands As IEnumerable(Of CommandModel)
protected virtual IEnumerable<CommandModel> GetAllCommands()
protected:
virtual IEnumerable<CommandModel^>^ GetAllCommands()
protected function GetAllCommands() : IEnumerable<CommandModel>

Return Value

See Also

ElementViewModel Class

Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel Namespace