次の方法で共有


PersistChildrenAttribute.No フィールド

デザイン時に、ASP.NET サーバー コントロールの子コントロールを入れ子になった内部コントロールとして永続化する必要がないことを示します。このフィールドは読み取り専用です。

Public Shared ReadOnly No As PersistChildrenAttribute
[C#]
public static readonly PersistChildrenAttribute No;
[C++]
public: static PersistChildrenAttribute* No;
[JScript]
public static var No : PersistChildrenAttribute;

解説

このフィールドを呼び出すと、サーバー コントロールの内部タグとプロパティは永続化されますが、独自の権限を持つサーバー コントロールとしては永続化されません。

必要条件

プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ

参照

PersistChildrenAttribute クラス | PersistChildrenAttribute メンバ | System.Web.UI 名前空間