StringExtensionsToRiakString Method |
Converts a string object to a UTF-8 encoded byte array.
Namespace:
RiakClient.Extensions
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax public static byte[] ToRiakString(
this string value
)
[<ExtensionAttribute>]
static member ToRiakString :
value : string -> byte[]
Parameters
- value
- Type: SystemString
The string to encode.
Return Value
Type:
ByteThe encoded string.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also