QualifierDataCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a QualifierData object to the QualifierDataCollection.
Overloads
Add(String, Object) |
Adds a QualifierData to the QualifierDataCollection. This overload specifies the qualifier name and value. |
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)
- Source:
- QualifierSet.cs
- Source:
- QualifierSet.cs
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
The name of the QualifierData to be added to the QualifierDataCollection.
- qualifierValue
- 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.
Applies to
Add(String, Object, Boolean, Boolean, Boolean, Boolean)
- Source:
- QualifierSet.cs
- Source:
- QualifierSet.cs
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
The qualifier name.
- qualifierValue
- Object
The qualifier value.
- isAmended
- Boolean
true
to specify that this qualifier is amended (flavor
); otherwise, false
.
- propagatesToInstance
- Boolean
true
to propagate this qualifier to instances; otherwise, false
.
- propagatesToSubclass
- Boolean
true
to propagate this qualifier to subclasses; otherwise, false
.
- isOverridable
- 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.