Editar

Partilhar via


PropertyValueCollection.Value Property

Definition

Gets or sets the values of the collection.

public:
 property System::Object ^ Value { System::Object ^ get(); void set(System::Object ^ value); };
public object? Value { get; set; }
public object Value { get; set; }
member this.Value : obj with get, set
Public Property Value As Object

Property Value

If the collection is empty, the property value is a null reference (Nothing in Visual Basic). If the collection contains one value, the property value is that value. If the collection contains multiple values, the property value equals a copy of an array of those values.

If setting this property, the value or values are added to the PropertyValueCollection. Setting this property to a null reference (Nothing) clears the collection.

Remarks

To add multiple values, set this property to an array of the values.

Applies to