Share via


NameValue Class

Definition

Represents a named text value.

public ref class NameValue sealed
public sealed class NameValue
type NameValue = class
Public NotInheritable Class NameValue
Inheritance
NameValue

Constructors

NameValue()

Initializes an instance of the NameValue class.

NameValue(NameValue)

Initializes an instance of the NameValue class that is identical to the provided NameValue object.

NameValue(String, String)

Initializes an instance of the NameValue class by using the provided parameters.

Properties

Name

Gets or sets the name of the value.

Value

Gets and sets the content that the Name property value identifies.

Methods

ToString()

Retrieves a string that contains the Name and Value property values.

Applies to