Language

FileSystem.Separator Property

Definition

Returns the name separator, represented as a string.

public abstract string? Separator { [Android.Runtime.Register("getSeparator", "()Ljava/lang/String;", "GetGetSeparatorHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getSeparator", "()Ljava/lang/String;", "GetGetSeparatorHandler", ApiSince=26)>]
member this.Separator : string

Property Value

The name separator

Attributes

Remarks

Returns the name separator, represented as a string. The name separator is used to separate names in a path string. An implementation may support multiple name separators in which case this method returns an implementation specific default name separator. This separator is used when creating path strings by invoking the toString() method. In the case of the default provider, this method returns the same separator as File.separator.

Java reference for java.nio.file.FileSystem.getSeparator.

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