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

적용 대상

추가 정보