Share via


DisplayModeProvider.Modes Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets a list of modes of the DisplayModeProvider.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public ReadOnly Property Modes As IList(Of IDisplayMode)
    Get
'Usage
Dim instance As DisplayModeProvider 
Dim value As IList(Of IDisplayMode)

value = instance.Modes
public IList<IDisplayMode> Modes { get; }
public:
property IList<IDisplayMode^>^ Modes {
    IList<IDisplayMode^>^ get ();
}
member Modes : IList<IDisplayMode>
function get Modes () : IList<IDisplayMode>

Property Value

Type: System.Collections.Generic.IList<IDisplayMode>
A list of modes of the DisplayModeProvider.

See Also

Reference

DisplayModeProvider Class

System.Web.WebPages Namespace