Udostępnij za pośrednictwem


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