BaseElement.SafeReadAttribute Method

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS Namespace > BaseElement Class > BaseElement Methods >

BaseElement.SafeReadAttribute Method

Safely reads the value of the specified attribute from the XML document.

Namespace: BNCS
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public string SafeReadAttribute(
 string attributeName
)

Parameters

attributeName

Type: String
The name of the attribute to read.

Return Value

The value of the attribute if found, otherwise null.

 

See Also


BaseElement Class

BNCS Namespace