Set the attribute for the specified property and language.

Namespace:  Aras.IOM
Assembly:  IOM (in IOM.dll) Version: 11.0.0.6296

Syntax

C#
public void setPropertyAttribute(
	string propertyName,
	string attributeName,
	string attributeValue,
	string lang
)
Visual Basic (Declaration)
Public Sub setPropertyAttribute ( _
	propertyName As String, _
	attributeName As String, _
	attributeValue As String, _
	lang As String _
)
J#
public void setPropertyAttribute(
	String propertyName,
	String attributeName,
	String attributeValue,
	String lang
)
JScript
public function setPropertyAttribute(
	propertyName : String, 
	attributeName : String, 
	attributeValue : String, 
	lang : String
)

Parameters

propertyName
Type: System..::.String
Property name
attributeName
Type: System..::.String
Attribute name
attributeValue
Type: System..::.String
Attribute value to be set
lang
Type: System..::.String
Language for which the property attribute has to be set. If null value is passed, the language of the current session is assumed.

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.

Exceptions

ExceptionCondition
System..::.ExceptionThe instance doesn't represent a single item.
System.Xml..::.XmlExceptionThe specified attribute name contains an invalid character.
System..::.ArgumentExceptionThe property node\tag is read-only.

See Also