UriUtilityUriEncode Method (String, UriPart) |
This API is preliminary and subject to change.
Encodes text for inclusion in a URI using the
UTF8 encoding.
Namespace: net.openstack.CoreAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public static string UriEncode(
string text,
UriPart uriPart
)
Public Shared Function UriEncode (
text As String,
uriPart As UriPart
) As String
public:
static String^ UriEncode(
String^ text,
UriPart uriPart
)
static member UriEncode :
text : string *
uriPart : UriPart -> string
Parameters
- text
- Type: SystemString
The text to encode for inclusion in a URI. - uriPart
- Type: net.openstack.CoreUriPart
A UriPart value indicating where in the URI the specified text will be included.
Return Value
Type:
StringThe URI-encoded text, suitable for the specified URI part.
Exceptions Remarks Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also