IStack(TValue, TCont) Interface

IStack<TValue, TCont> Interface

 

Defines the interface of an STL/CLR stack object.

Namespace:   Microsoft.VisualC.StlClr
Assembly:  Microsoft.VisualC.STLCLR (in Microsoft.VisualC.STLCLR.dll)

public interface IStack<TValue, TCont> : ICloneable

Type Parameters

TValue

The type of an element in the controlled sequence.

TCont

The type of the underlying container.

NameDescription
System_CAPS_pubpropertytop_item

Accesses the last element of the container.

NameDescription
System_CAPS_pubmethodassign(IStack<TValue, TCont>)

Replaces all elements in the container with the elements in the provided container.

System_CAPS_pubmethodClone()

Creates a new object that is a copy of the current instance.(Inherited from ICloneable.)

System_CAPS_pubmethodempty()

Determines whether the container contains no elements.

System_CAPS_pubmethodget_container()

Accesses the underlying container.

System_CAPS_pubmethodpop()

Removes the last element of the container.

System_CAPS_pubmethodpush(TValue)

Appends an element to the container.

System_CAPS_pubmethodsize()

Counts the number of elements in the container.

System_CAPS_pubmethodtop()

Accesses the last element of the container.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft