XmlAttributeCollection Data Type
Version: Available or changed with runtime version 1.0.
Represents a collection of XML attributes.
Instance methods
The following methods are available on instances of the XmlAttributeCollection data type.
Method name | Description |
---|---|
Count() | Gets the number of attributes in the XmlAttributeCollection. |
Get(Integer, var XmlAttribute) | Gets the specified attribute. |
Get(Text, var XmlAttribute) | Gets the specified attribute. |
Get(Text, Text, var XmlAttribute) | Gets the specified attribute. |
Remove(XmlAttribute) | Removes the specified attribute from the collection. |
Remove(Text) | Removes the specified attribute from the collection. |
Remove(Text, Text) | Removes the specified attribute from the collection. |
RemoveAll() | Removes all attributes from the collection. |
Set(Text, Text) | Sets the value of the specified attribute or creates it if is not part of the collection. |
Set(Text, Text, Text) | Sets the value of the specified attribute or creates it if is not part of the collection. |
See Also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈