←Select platform

GetAttributeValue Method

Summary

Gets the value of the specified attribute of an element as a raw string.

Syntax
C#
VB
Objective-C
C++
Java
public string GetAttributeValue( 
   string name 
) 
Public Function GetAttributeValue( _ 
   ByVal name As String _ 
) As String 
- (nullable NSString *)valueOfAttribute:(NSString *)attribute error:(NSError **)error 
public String getAttributeValue(String name) 
public: 
String^ GetAttributeValue(  
   String^ name 
)  

Parameters

name
The attribute name.

Return Value

The value of the specified attribute. null 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