Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AzureAppConfigurationOptions.TrimKeyPrefix(String) Method

Definition

Namespace:
Microsoft.Extensions.Configuration.AzureAppConfiguration
Assembly:
Microsoft.Extensions.Configuration.AzureAppConfiguration.dll
Package:
Microsoft.Extensions.Configuration.AzureAppConfiguration v8.5.0
Package:
Microsoft.Extensions.Configuration.AzureAppConfiguration v8.6.0-preview

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.

Trims the provided prefix from the keys of all key-values retrieved from Azure App Configuration.

public Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions TrimKeyPrefix(string prefix);
member this.TrimKeyPrefix : string -> Microsoft.Extensions.Configuration.AzureAppConfiguration.AzureAppConfigurationOptions
Public Function TrimKeyPrefix (prefix As String) As AzureAppConfigurationOptions

Parameters

prefix
String

The prefix to be trimmed.

Returns

Applies to


Feedback

Was this page helpful?