FieldMappingFunction.UrlEncode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a field mapping function that performs a simple URL-safe encoding of the input string, using UTF-8 encoding format.
public static Microsoft.Azure.Search.Models.FieldMappingFunction UrlEncode ();
static member UrlEncode : unit -> Microsoft.Azure.Search.Models.FieldMappingFunction
Public Shared Function UrlEncode () As FieldMappingFunction
Returns
A new field mapping function
Remarks
Sample use case: This field mapping function can be used as an alternative to Base64Encode if only the URL unsafe characters of a key field need to be safely converted, while other characters can remain as-is.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET