共用方式為


DesignerAutoFormat(String) 建構函式

定義

初始化 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 物件的字串。

例外狀況

namenull

備註

使用DesignerAutoFormat建構函式建立新格式,並將其加入DesignerAutoFormatCollectionAutoFormatsControlDesigner物件屬性代表的集合中。

適用於

另請參閱