Note

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

Access to this page requires authorization. You can try .

IOptionsFactory<TOptions>.Create(String) Method

Definition

Namespace:
Microsoft.Extensions.Options
Assembly:
Microsoft.Extensions.Options.dll
Package:
Microsoft.Extensions.Options v11.0.0-preview.5.26302.115
Source:
IOptionsFactory.cs
Source:
IOptionsFactory.cs
Source:
IOptionsFactory.cs
Source:
IOptionsFactory.cs

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.

Returns a configured TOptions instance with the given name.

public:
 TOptions Create(System::String ^ name);
public TOptions Create(string name);
abstract member Create : string -> 'Options
Public Function Create (name As String) As TOptions

Parameters

name
String

The name of the TOptions instance to create.

Returns

TOptions

The created TOptions instance with the given name.

Applies to


Feedback

Was this page helpful?