WebPartsSection 构造函数

定义

使用默认设置初始化 WebPartsSection 类的新实例。Initializes a new instance of the WebPartsSection class using default settings.

public:
 WebPartsSection();
public WebPartsSection ();
Public Sub New ()

注解

WebPartsSection构造函数不应在代码中直接使用。The WebPartsSection constructor is not intended to be used directly from your code. 它由 ASP.NET 配置系统调用。It is called by the ASP.NET configuration system. 您可以WebPartsSection GetSection使用方法获取类的实例。You obtain an instance of the WebPartsSection class by using the GetSection method.

此构造函数不应在代码中直接使用。This constructor is not intended to be used directly from your code. 它由 ASP.NET 配置系统调用。It is called by the ASP.NET configuration system.

下表显示了用于此构造函数的默认设置。The following table shows the default settings that are used for this constructor.

设置Setting 默认值Default Value
Personalization 一个空 WebPartsPersonalization 对象。An empty WebPartsPersonalization object.
Transformers 包含TransformerInfoCollection 默认TransformerInfo对象的集合。A TransformerInfoCollection collection containing a default TransformerInfo object.

适用于

另请参阅