DesignerAutoFormat.DesignerAutoFormat Constructor

Initializes a new instance of the DesignerAutoFormat class.

Namespace: System.Web.UI.Design
Assembly: System.Design (in system.design.dll)

protected:
DesignerAutoFormat (
	String^ name
)
protected DesignerAutoFormat (
	String name
)
protected function DesignerAutoFormat (
	name : String
)
Not applicable.

Parameters

name

A string that identifies a specific DesignerAutoFormat object.

Exception typeCondition

ArgumentNullException

name is a null reference (Nothing in Visual Basic).

Use the DesignerAutoFormat constructor to create a new format and add it to a DesignerAutoFormatCollection collection that is represented by the AutoFormats property of a ControlDesigner object.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: