PropertyData.AppendAttribute 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.
Inserts the specified attribute in the property.
Overloads
AppendAttribute(Attribute[]) |
Specifies the attribute to be used in the property. |
AppendAttribute(IEnumerable<Attribute>) |
Returns an IEnumerator for the attribute. |
AppendAttribute(AttributeCollection) |
Specifies the attribute to be used in the collection within the property. |
AppendAttribute(Attribute[])
Specifies the attribute to be used in the property.
public:
void AppendAttribute(... cli::array <Attribute ^> ^ attrs);
public void AppendAttribute (params Attribute[] attrs);
member this.AppendAttribute : Attribute[] -> unit
Public Sub AppendAttribute (ParamArray attrs As Attribute())
Parameters
- attrs
- Attribute[]
The specified attribute of the property.
Applies to
AppendAttribute(IEnumerable<Attribute>)
Returns an IEnumerator for the attribute.
public:
void AppendAttribute(System::Collections::Generic::IEnumerable<Attribute ^> ^ attrs);
public void AppendAttribute (System.Collections.Generic.IEnumerable<Attribute> attrs);
member this.AppendAttribute : seq<Attribute> -> unit
Public Sub AppendAttribute (attrs As IEnumerable(Of Attribute))
Parameters
- attrs
- IEnumerable<Attribute>
The specified attribute of the property.
Applies to
AppendAttribute(AttributeCollection)
Specifies the attribute to be used in the collection within the property.
public:
void AppendAttribute(System::ComponentModel::AttributeCollection ^ attrs);
public void AppendAttribute (System.ComponentModel.AttributeCollection attrs);
member this.AppendAttribute : System.ComponentModel.AttributeCollection -> unit
Public Sub AppendAttribute (attrs As AttributeCollection)
Parameters
- attrs
- AttributeCollection
The specified attribute of the property.