Compartir a través de


IDocument.XmlVersion Property

Definition

An attribute specifying, as part of the , the version number of this document.

public string? XmlVersion { [Android.Runtime.Register("getXmlVersion", "()Ljava/lang/String;", "GetGetXmlVersionHandler:Org.W3c.Dom.IDocumentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; [Android.Runtime.Register("setXmlVersion", "(Ljava/lang/String;)V", "GetSetXmlVersion_Ljava_lang_String_Handler:Org.W3c.Dom.IDocumentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] set; }
[<get: Android.Runtime.Register("getXmlVersion", "()Ljava/lang/String;", "GetGetXmlVersionHandler:Org.W3c.Dom.IDocumentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
[<set: Android.Runtime.Register("setXmlVersion", "(Ljava/lang/String;)V", "GetSetXmlVersion_Ljava_lang_String_Handler:Org.W3c.Dom.IDocumentInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.XmlVersion : string with get, set

Property Value

Attributes

Exceptions

NOT_SUPPORTED_ERR: Raised if the version is set to a value that is not supported by this Document or if this document does not support the "XML" feature.

Remarks

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.

Applies to