XdmWriterSettings.SetParameter Method (XmlQualifiedName, string)XdmWriterSettings.SetParameter Method (XmlQualifiedName, String)XdmWriterSettings::SetParameter Method (XmlQualifiedName^, String^)
Attempts to set the specified serialization parameter.
- Namespace: XmlPrime.SerializationXmlPrime.SerializationXmlPrime.Serialization
- Assembly: XmlPrime (in XmlPrime.dll)
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
true
True
true
if the parameter was recognised, otherwise false
False
false
.
Exceptions
Exception | Condition |
XdmExceptionXdmExceptionXdmException | value is not a valid value for the parameter parameter. |
Remarks
AllQName
values should be supplied in Clark notation.