Android.Text.Util.Rfc822Token Members

The members of Android.Text.Util.Rfc822Token are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Creates a new Rfc822Token with the specified name, address, and comment.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

Addressstring. Returns the address part.
Commentstring. Returns the comment part.
Namestring. Returns the name part.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
QuoteComment(string) : string
Returns the comment, with internal backslashes and parentheses preceded by backslashes.
static
QuoteName(string) : string
Returns the name, with internal backslashes and quotation marks preceded by backslashes.
static
QuoteNameIfNecessary(string) : string
Returns the name, conservatively quoting it if there are any characters that are likely to cause trouble outside of a quoted string, or returning it literally if it seems safe.