FieldMappingFunction.UrlEncode Method
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
A new field mapping function
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.
Product | Versions |
---|---|
Azure SDK for .NET | Legacy |
Azure SDK for .NET feedback
Azure SDK for .NET is an open source project. Select a link to provide feedback: