Share via


StreamSource.PublicId Property

Definition

Get the public identifier that was set with setPublicId. -or- Set the public identifier for this Source.

public virtual string? PublicId { [Android.Runtime.Register("getPublicId", "()Ljava/lang/String;", "GetGetPublicIdHandler")] get; [Android.Runtime.Register("setPublicId", "(Ljava/lang/String;)V", "GetSetPublicId_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getPublicId", "()Ljava/lang/String;", "GetGetPublicIdHandler")>]
[<set: Android.Runtime.Register("setPublicId", "(Ljava/lang/String;)V", "GetSetPublicId_Ljava_lang_String_Handler")>]
member this.PublicId : string with get, set

Property Value

The public identifier that was set with setPublicId, or null if setPublicId was not called.

Attributes

Remarks

Property getter documentation:

Get the public identifier that was set with setPublicId.

Java documentation for javax.xml.transform.stream.StreamSource.getPublicId().

Property setter documentation:

Set the public identifier for this Source.

The public identifier is always optional: if the application writer includes one, it will be provided as part of the location information.

Java documentation for javax.xml.transform.stream.StreamSource.setPublicId(java.lang.String).

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