DesignerAutoFormat(String) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 DesignerAutoFormat 類別的新執行個體。
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 物件的字串。
例外狀況
name 為 null。
備註
使用DesignerAutoFormat建構函式建立新格式,並將其加入DesignerAutoFormatCollection由AutoFormatsControlDesigner物件屬性代表的集合中。