System.Web.UI.Triplet Class

Provides a basic utility class that is used to store three related objects.

See Also: Triplet Members


public sealed class Triplet


The System.Web.UI.Triplet class is used as a basic structure to store three related objects. It is a utility class that is used in various ways throughout ASP.NET. You can use the System.Web.UI.Triplet class in your own code anywhere that you need a structure to contain three related objects and where data-hiding is not essential. The System.Web.UI.Triplet class does not encapsulate its object references, Triplet.First, Triplet.Second, and Triplet.Third, in properties; it exposes them directly to all calling code as public class fields.


Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0,