Click or drag to resize
XmlConfiguratonOperatorSetParameter Method
Sets a parameter on an object.

Namespace: X3Platform.Configuration
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public static void SetParameter(
	Object target,
	XmlElement element
)

Parameters

target
Type: SystemObject
The object to set the parameter on.
element
Type: System.XmlXmlElement
The parameter element.
Remarks
The parameter name must correspond to a writable property on the object. The value of the parameter is a string, therefore this function will attempt to set a string property first. If unable to set a string property it will inspect the property and its argument type. It will attempt to call a static method called Parse on the type of the property. This method will take a single string argument and return a value that can be used to set the property.
See Also