DesignerAutoFormat(String) 构造函数
定义
初始化 DesignerAutoFormat 类的新实例。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)
参数
- name
- String
一个标识特定 DesignerAutoFormat 对象的字符串。A string that identifies a specific DesignerAutoFormat object.
例外
name 为 null。name is null.
注解
使用 DesignerAutoFormat 构造函数创建新的格式,并将其添加到 DesignerAutoFormatCollection 由对象的属性表示的集合中 AutoFormats ControlDesigner 。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.