QualifierDataCollection.Add QualifierDataCollection.Add QualifierDataCollection.Add QualifierDataCollection.Add Method

Definition

Adds a QualifierData object to the QualifierDataCollection.

Overloads

Add(String, Object) Add(String, Object) Add(String, Object) Add(String, Object)

Adds a QualifierData to the QualifierDataCollection. This overload specifies the qualifier name and value.

Add(String, Object, Boolean, Boolean, Boolean, Boolean) Add(String, Object, Boolean, Boolean, Boolean, Boolean) Add(String, Object, Boolean, Boolean, Boolean, Boolean) Add(String, Object, Boolean, Boolean, Boolean, Boolean)

Adds a QualifierData to the QualifierDataCollection. This overload specifies all property values for a QualifierData.

Add(String, Object) Add(String, Object) Add(String, Object) Add(String, Object)

Adds a QualifierData to the QualifierDataCollection. This overload specifies the qualifier name and value.

public:
 virtual void Add(System::String ^ qualifierName, System::Object ^ qualifierValue);
public virtual void Add (string qualifierName, object qualifierValue);
abstract member Add : string * obj -> unit
override this.Add : string * obj -> unit
Public Overridable Sub Add (qualifierName As String, qualifierValue As Object)

Parameters

qualifierName
String String String String

The name of the QualifierData to be added to the QualifierDataCollection.

qualifierValue
Object Object Object Object

The value for the new qualifier.

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Add(String, Object, Boolean, Boolean, Boolean, Boolean) Add(String, Object, Boolean, Boolean, Boolean, Boolean) Add(String, Object, Boolean, Boolean, Boolean, Boolean) Add(String, Object, Boolean, Boolean, Boolean, Boolean)

Adds a QualifierData to the QualifierDataCollection. This overload specifies all property values for a QualifierData.

public:
 virtual void Add(System::String ^ qualifierName, System::Object ^ qualifierValue, bool isAmended, bool propagatesToInstance, bool propagatesToSubclass, bool isOverridable);
public virtual void Add (string qualifierName, object qualifierValue, bool isAmended, bool propagatesToInstance, bool propagatesToSubclass, bool isOverridable);
abstract member Add : string * obj * bool * bool * bool * bool -> unit
override this.Add : string * obj * bool * bool * bool * bool -> unit
Public Overridable Sub Add (qualifierName As String, qualifierValue As Object, isAmended As Boolean, propagatesToInstance As Boolean, propagatesToSubclass As Boolean, isOverridable As Boolean)

Parameters

qualifierName
String String String String

The qualifier name.

qualifierValue
Object Object Object Object

The qualifier value.

isAmended
Boolean Boolean Boolean Boolean

true to specify that this qualifier is amended (flavor); otherwise, false.

propagatesToInstance
Boolean Boolean Boolean Boolean

true to propagate this qualifier to instances; otherwise, false.

propagatesToSubclass
Boolean Boolean Boolean Boolean

true to propagate this qualifier to subclasses; otherwise, false.

isOverridable
Boolean Boolean Boolean Boolean

true to specify that this qualifier's value is overridable in instances of subclasses; otherwise, false.

Remarks

.NET Framework Security

Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.

Applies to