Uređivanje

Dijeli putem


IStack<TValue,TCont>.top_item Property

Definition

Accesses the last element of the container.

public:
 property TValue top_item { TValue get(); void set(TValue value); };
public TValue top_item { get; set; }
member this.top_item : 'Value with get, set
Public Property top_item As TValue

Property Value

TValue

The last element of the controlled sequence, which must be non-empty.

Remarks

For more information, see stack::top_item (STL/CLR).

Applies to