Метод | Описание | |
---|---|---|
Parameter ( Portable.Text.Encoding encoding, string name, string value ) : System |
Initializes a new instance of the Parameter class. Creates a new parameter with the specified name and value. |
|
Parameter ( string name, string value ) : System |
Initializes a new instance of the Parameter class. Creates a new parameter with the specified name and value. |
|
Parameter ( string charset, string name, string value ) : System |
Initializes a new instance of the Parameter class. Creates a new parameter with the specified name and value. |
|
ToString ( ) : string |
Returns a string representation of the Parameter. Formats the parameter name and value in the form |
Метод | Описание | |
---|---|---|
Encode ( MimeKit.FormatOptions options, StringBuilder builder, int &lineLength, Portable.Text.Encoding headerEncoding ) : void | ||
EncodeRfc2047 ( MimeKit.FormatOptions options, StringBuilder builder, int &lineLength, Portable.Text.Encoding headerEncoding ) : void | ||
EncodeRfc2231 ( MimeKit.FormatOptions options, StringBuilder builder, int &lineLength, Portable.Text.Encoding headerEncoding ) : void | ||
EstimateEncodedWordLength ( string charset, int byteCount, int encodeCount ) : int | ||
ExceedsMaxWordLength ( string charset, int byteCount, int encodeCount, int maxLength ) : bool | ||
GetBestEncoding ( string value, Portable.Text.Encoding defaultEncoding ) : Portable.Text.Encoding | ||
GetEncodeMethod ( MimeKit.FormatOptions options, char value, int startIndex, int length ) : EncodeMethod | ||
GetEncodeMethod ( MimeKit.FormatOptions options, string name, string value, string "ed ) : EncodeMethod | ||
GetEncodeMethod ( byte value, int length ) : EncodeMethod | ||
IsAttr ( byte c ) : bool | ||
IsCtrl ( char c ) : bool | ||
OnChanged ( ) : void | ||
Rfc2047EncodeNextChunk ( StringBuilder str, string text, int &index, Portable.Text.Encoding encoding, string charset, Portable.Text.Encoder encoder, int maxLength ) : int | ||
Rfc2231GetNextValue ( MimeKit.FormatOptions options, string charset, Portable.Text.Encoder encoder, MimeKit.Encodings.HexEncoder hex, char chars, int &index, byte &bytes, byte &encoded, int maxLength, string &value ) : bool |
public Parameter ( Portable.Text.Encoding encoding, string name, string value ) : System | ||
encoding | Portable.Text.Encoding | The character encoding. |
name | string | The parameter name. |
value | string | The parameter value. |
Результат | System |
public Parameter ( string name, string value ) : System | ||
name | string | The parameter name. |
value | string | The parameter value. |
Результат | System |
public Parameter ( string charset, string name, string value ) : System | ||
charset | string | The character encoding. |
name | string | The parameter name. |
value | string | The parameter value. |
Результат | System |