Share via


QueryByAttribute.AddAttributeValue(String, Object) Method

Definition

Adds an attribute value to the attributes collection.

public:
 void AddAttributeValue(System::String ^ attributeName, System::Object ^ value);
public void AddAttributeValue (string attributeName, object value);
member this.AddAttributeValue : string * obj -> unit
Public Sub AddAttributeValue (attributeName As String, value As Object)

Parameters

attributeName
String

The logical name of the attribute.

value
Object

The attribute value.

Applies to