Transformer.SetOutputProperty(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set an output property that will be in effect for the transformation.
[Android.Runtime.Register("setOutputProperty", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetOutputProperty_Ljava_lang_String_Ljava_lang_String_Handler")]
public abstract void SetOutputProperty (string? name, string? value);
[<Android.Runtime.Register("setOutputProperty", "(Ljava/lang/String;Ljava/lang/String;)V", "GetSetOutputProperty_Ljava_lang_String_Ljava_lang_String_Handler")>]
abstract member SetOutputProperty : string * string -> unit
Parameters
- name
- String
A non-null String that specifies an output property name, which may be namespace qualified.
- value
- String
The non-null string value of the output property.
- Attributes
Exceptions
If the property is not supported, and is not qualified with a namespace.
Remarks
Set an output property that will be in effect for the transformation.
Pass a qualified property name as a two-part string, the namespace URI enclosed in curly braces ({}), followed by the local name. If the name has a null URL, the String only contain the local name. An application can safely check for a non-null URI by testing to see if the first character of the name is a '{' character.
For example, if a URI and local name were obtained from an element defined with <xyz:foo xmlns:xyz="http://xyz.foo.com/yada/baz.html"/>, then the qualified name would be "{http://xyz.foo.com/yada/baz.html}foo". Note that no prefix is used.
The Properties object that was passed to #setOutputProperties
won't be effected by calling this method.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.