Nevron Open Vision Documentation
Nevron.Nov.Xml Namespace / NXmlReader Class / GetAttributeValue Method
The attribute whose value to get.


In This Topic
    GetAttributeValue Method (NXmlReader)
    In This Topic
    Gets the value of the attribute with the given name. This method is valid only when the current node type is ENXmlReaderNodeType.Declaration or ENXmlReaderNodeType.StartTag.
    Syntax
    'Declaration
     
    
    Public Function GetAttributeValue( _
       ByVal attributeName As System.String _
    ) As System.String
    'Usage
     
    
    Dim instance As NXmlReader
    Dim attributeName As System.String
    Dim value As System.String
     
    value = instance.GetAttributeValue(attributeName)
    public System.string GetAttributeValue( 
       System.string attributeName
    )

    Parameters

    attributeName
    The attribute whose value to get.

    Return Value

    The value of the attribute with the specified name or null if no such attribute found.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also