←Select platform

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

name
The attribute name.

value
The new value of the attribute. A new attribute will be created if the element does not have an attribute with this name.

Example

For an example, refer to EnumerateElements.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly