XdmWriterSettings.SetParameter Method (XmlQualifiedName, string)XdmWriterSettings.SetParameter Method (XmlQualifiedName, String)XdmWriterSettings::SetParameter Method (XmlQualifiedName^, String^)

Attempts to set the specified serialization parameter.

Syntax

Public Function SetParameter( _
    parameter As System.Xml.XmlQualifiedName, _
    value As String _
) As Boolean
public bool SetParameter(
    System.Xml.XmlQualifiedName parameter,
    string value
)
public:
bool SetParameter(
    System.Xml::XmlQualifiedName^ parameter, 
    String^ value
)
 

Parameters

parameter

Type: System.Xml.XmlQualifiedNameSystem.Xml.XmlQualifiedNameSystem.Xml::XmlQualifiedName^

The qualified name of the serialization parameter.

value

Type: System.StringSystem.StringSystem::String^

The value of the serialization parameter.

Return Value

Type: System.BooleanSystem.BooleanSystem::Boolean

trueTruetrue if the parameter was recognised, otherwise falseFalsefalse.

Exceptions

ExceptionCondition
XdmExceptionXdmExceptionXdmException value is not a valid value for the parameter parameter.

Remarks

All QName values should be supplied in Clark notation.