←Select platform

SetAttributeValue Method

Summary

Sets the value of the specified attribute from a raw string.

Syntax

C#
VB
Java
Objective-C
C++
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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Svg Assembly
Click or drag to resize