Collections Collections
Collections Collections
DocFX + Singulink = ♥

Search Results for

    Method TryUpdateTarget

    TryUpdateTarget(T)

    Replaces the value of this node with the specified value without changing its position in the list.

    Declaration
    public bool TryUpdateTarget(T newTarget)
    Parameters
    Type Name Description
    T newTarget

    The new value for the node.

    Returns
    Type Description
    bool

    true if the value was replaced; false if the node has been removed from the list or the list has been disposed.

    Remarks

    This method is only available on .NET, since it depends on DependentHandle.

    Exceptions
    Type Condition
    ArgumentNullException

    newTarget is null.

    © Singulink. All rights reserved.