ItemsetPropertyAttribute Method (String, String, String) |
Set the attribute for the specified property.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic void setPropertyAttribute(
string propertyName,
string attributeName,
string attributeValue
)
Public Sub setPropertyAttribute (
propertyName As String,
attributeName As String,
attributeValue As String
)
public void setPropertyAttribute(
String propertyName,
String attributeName,
String attributeValue
)
public function setPropertyAttribute(
propertyName : String,
attributeName : String,
attributeValue : String
)
Parameters
- propertyName
- Type: SystemString
Property name - attributeName
- Type: SystemString
Attribute name - attributeValue
- Type: SystemString
Attribute value to be set
ExceptionsException | Condition |
---|
Exception | The instance doesn't represent a single item. |
XmlException | The specified attribute name contains an invalid character. |
ArgumentException | The property node\tag is read-only. |
Remarks
If property tag with the specified name doesn't exist
in this.node, the property tag is created after which the attribute is set on it.
Note, that if the property tag is created by the method, the property value (i.e. tag's InnerText)
is empty.
See Also