IStateManager.IsTrackingViewState Eigenschaft

Definition

Wenn sie von einer Klasse implementiert wird, wird ein Wert abgerufen, der angibt, ob ein Serversteuerelement seine Ansichtszustandsänderungen nachverfolgt.

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

Eigenschaftswert

truewenn ein Serversteuerelement seine Ansichtszustandsänderungen nachverfolgt; andernfalls . false

Beispiele

// 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

Gilt für:

Weitere Informationen