次の方法で共有


Charset.IsSupported(String) Method

Definition

Tells whether the named charset is supported.

[Android.Runtime.Register("isSupported", "(Ljava/lang/String;)Z", "")]
public static bool IsSupported (string? charsetName);
[<Android.Runtime.Register("isSupported", "(Ljava/lang/String;)Z", "")>]
static member IsSupported : string -> bool

Parameters

charsetName
String

The name of the requested charset; may be either a canonical name or an alias

Returns

true if, and only if, support for the named charset is available in the current Java virtual machine

Attributes

Exceptions

if the specified charset name is illegal.

Remarks

Tells whether the named charset is supported.

Java documentation for java.nio.charset.Charset.isSupported(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