Share via


HexFormat.WithPrefix(String) Method

Definition

Returns a copy of this HexFormat with the prefix.

[Android.Runtime.Register("withPrefix", "(Ljava/lang/String;)Ljava/util/HexFormat;", "", ApiSince=34)]
public Java.Util.HexFormat? WithPrefix (string? prefix);
[<Android.Runtime.Register("withPrefix", "(Ljava/lang/String;)Ljava/util/HexFormat;", "", ApiSince=34)>]
member this.WithPrefix : string -> Java.Util.HexFormat

Parameters

prefix
String

a prefix, non-null, may be empty

Returns

a copy of this HexFormat with the prefix

Attributes

Remarks

Returns a copy of this HexFormat with the prefix.

Java documentation for java.util.HexFormat.withPrefix(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