IStateManager.IsTrackingViewState プロパティ

定義

クラスによって実装された場合は、サーバー コントロールがそのビューステートの変化を追跡するかどうかを示す値を取得します。

public:
 property bool IsTrackingViewState { bool get(); };
public bool IsTrackingViewState { get; }
member this.IsTrackingViewState : bool
Public ReadOnly Property IsTrackingViewState As Boolean

プロパティ値

Boolean

サーバー コントロールがビューステートの変化を追跡する場合は true。それ以外の場合は false

// Implement the IsTrackingViewState method for this class 
// by calling the IsTrackingViewState method of the class's
// private _viewstate property. 
bool IStateManager.IsTrackingViewState
{
    get
    {
        return ((IStateManager)_viewstate).IsTrackingViewState;
    }
}
' Implement the IsTrackingViewState method for this class 
' by calling the IsTrackingViewState method of the class's
' private _viewstate property. 

ReadOnly Property IsTrackingViewState() As Boolean Implements IStateManager.IsTrackingViewState
    Get
        Return CType(_viewstate, IStateManager).IsTrackingViewState
    End Get
End Property

適用対象

こちらもご覧ください