SetAttributeValue Method
Summary
Sets the value of the specified attribute from a raw string.
Syntax
C#
VB
Objective-C
C++
Java
public void SetAttributeValue(
string name,
string value
)
Public Sub SetAttributeValue( _
ByVal name As String, _
ByVal value As String _
)
- (BOOL)setValue:(NSString *)value forAttribute:(NSString *)attribute error:(NSError **)error
public void setAttributeValue(String name, String value)
public:
void SetAttributeValue(
String^ name,
String^ value
)
Parameters
value
The new value of the attribute. A new attribute will be created if the element does not have an attribute with this name.