BinaryData.FromString Metodo

Definizione

Overload

FromString(String)

Crea un'istanza BinaryData da una stringa convertendo la stringa in byte usando la codifica UTF-8.

FromString(String, String)

FromString(String)

Origine:
BinaryData.cs
Origine:
BinaryData.cs

Crea un'istanza BinaryData da una stringa convertendo la stringa in byte usando la codifica UTF-8.

public:
 static BinaryData ^ FromString(System::String ^ data);
public static BinaryData FromString (string data);
static member FromString : string -> BinaryData
Public Shared Function FromString (data As String) As BinaryData

Parametri

data
String

Dati stringa.

Restituisce

Valore che rappresenta la codifica UTF-8 di data.

Si applica a

FromString(String, String)

Origine:
BinaryData.cs
Origine:
BinaryData.cs
public:
 static BinaryData ^ FromString(System::String ^ data, System::String ^ mediaType);
public static BinaryData FromString (string data, string? mediaType);
static member FromString : string * string -> BinaryData
Public Shared Function FromString (data As String, mediaType As String) As BinaryData

Parametri

data
String
mediaType
String

Restituisce

Si applica a