Share via


FieldMappingFunction.UrlEncode Method

Definition

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();

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

Product Versions
Azure SDK for .NET Legacy