HtmlNodeGetAttributeValue Method (String, Int32) | 
 
            Helper method to get the value of an attribute of this node. If the attribute is not found, the default value will be returned.
            
 
    Namespace: 
   WorkflowGen.My.HtmlAgilityPack
    Assembly:
   WorkflowGen.My (in WorkflowGen.My.dll) Version: 4.7.2.0 (4.7.2.0)
Syntaxpublic int GetAttributeValue(
	string name,
	int def
)
Public Function GetAttributeValue ( 
	name As String,
	def As Integer
) As Integer
Parameters
- name
 - Type: SystemString
The name of the attribute to get. May not be null. - def
 - Type: SystemInt32
The default value to return if not found. 
Return Value
Type: 
Int32The value of the attribute if found, the default value if not found.
See Also