Visual Signal ExternalBase Class Library Documentation
GetXmlFields<(Of <(T>)>) Method (root, collectionName, fieldName, isRequired)
VisualSignalVSignal.ExternalBaseTExternalBaseGetXmlFields<(Of <(T>)>)(XmlElement, String, String, Boolean)
API version 1.2.2.0

[This is preliminary documentation and is subject to change.]

Static utility function "GetXmlField", provided for general use to obtain a field value from an XML document.
Declaration Syntax
C#Visual BasicVisual C++
public static Object GetXmlFields<T>(
	XmlElement root,
	string collectionName,
	string fieldName,
	bool isRequired
)
Public Shared Function GetXmlFields(Of T) ( _
	root As XmlElement, _
	collectionName As String, _
	fieldName As String, _
	isRequired As Boolean _
) As Object
public:
generic<typename T>
static Object^ GetXmlFields(
	XmlElement^ root, 
	String^ collectionName, 
	String^ fieldName, 
	bool isRequired
)
Generic Template Parameters
T
Specifies the System.Type of the field value.
Parameters
root (XmlElement)
Specifies the XML root element.
collectionName (String)
Specifies the name of the collection to be updated.
fieldName (String)
Specifies the name of the field to be updated.
isRequired (Boolean)
Specifies True if the field is required. An exception will be thrown if a required field is missing in the XML document.
Return Value
Returns the field values as an System.Object. User must cast the return value to T[].

Assembly: vsmExternalBase (Module: vsmExternalBase) Version: 1.2.2.0 (1.3.0.0)