ItemsetPropertyAttribute Method (String, String, String, String) |
Set the attribute for the specified property and language.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 14.0.9.36244
Syntaxpublic void setPropertyAttribute(
string propertyName,
string attributeName,
string attributeValue,
string lang
)
Public Sub setPropertyAttribute (
propertyName As String,
attributeName As String,
attributeValue As String,
lang As String
)
public void setPropertyAttribute(
String propertyName,
String attributeName,
String attributeValue,
String lang
)
public function setPropertyAttribute(
propertyName : String,
attributeName : String,
attributeValue : String,
lang : String
)
Parameters
- propertyName
- Type: SystemString
Property name - attributeName
- Type: SystemString
Attribute name - attributeValue
- Type: SystemString
Attribute value to be set - lang
- Type: SystemString
Language for which the property attribute has to be set. If null value is passed,
the language of the current session is assumed.
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 and language 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