Click or drag to resize
Sandcastle Help File BuilderConvertToMSBuildFormatSetProperty Method
This is used to set the named property to the specified value using Reflection.

Namespace: SandcastleBuilder.Utils.Conversion
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax
protected Object SetProperty(
	string name,
	string value
)

Parameters

name
Type: SystemString
The name of the property to set
value
Type: SystemString
The value to which it is set

Return Value

Type: Object
The parsed object value to which the property was set.
Exceptions
ExceptionCondition
ArgumentNullExceptionThis is thrown if the name parameter is null or an empty string.
BuilderExceptionThis is thrown if an error occurs while trying to set the named property.
Remarks
Property name matching is case insensitive as are the values themselves. This is used to allow setting of simple project properties (non-collection) using command line parameters in the console mode builder.
See Also