DesignerAutoFormat(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DesignerAutoFormat class.
protected:
DesignerAutoFormat(System::String ^ name);
protected DesignerAutoFormat (string name);
new System.Web.UI.Design.DesignerAutoFormat : string -> System.Web.UI.Design.DesignerAutoFormat
Protected Sub New (name As String)
Parameters
- name
- String
A string that identifies a specific DesignerAutoFormat object.
Exceptions
name
is null
.
Remarks
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.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.