←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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Svg Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.