Option<T> Constructors
Definition
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.
Overloads
Option<T>(String, String) |
Obsolete.
|
Option<T>(String, String, T) | |
Option<T>(String, String, T, OptionStorageLocation[]) |
Option<T>(String, String)
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option.cs
- Source:
- Option.cs
- Source:
- Option.cs
- Source:
- Option.cs
Caution
Use a constructor that specifies an explicit default value.
public:
Option(System::String ^ feature, System::String ^ name);
public Option (string feature, string name);
[System.Obsolete("Use a constructor that specifies an explicit default value.")]
public Option (string feature, string name);
new Microsoft.CodeAnalysis.Options.Option<'T> : string * string -> Microsoft.CodeAnalysis.Options.Option<'T>
[<System.Obsolete("Use a constructor that specifies an explicit default value.")>]
new Microsoft.CodeAnalysis.Options.Option<'T> : string * string -> Microsoft.CodeAnalysis.Options.Option<'T>
Public Sub New (feature As String, name As String)
Parameters
- feature
- String
- name
- String
- Attributes
Applies to
Option<T>(String, String, T)
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option.cs
- Source:
- Option.cs
- Source:
- Option.cs
- Source:
- Option.cs
public:
Option(System::String ^ feature, System::String ^ name, T defaultValue);
public Option (string feature, string name, T defaultValue);
new Microsoft.CodeAnalysis.Options.Option<'T> : string * string * 'T -> Microsoft.CodeAnalysis.Options.Option<'T>
Public Sub New (feature As String, name As String, defaultValue As T)
Parameters
- feature
- String
- name
- String
- defaultValue
- T
Applies to
Option<T>(String, String, T, OptionStorageLocation[])
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option%601.cs
- Source:
- Option.cs
- Source:
- Option.cs
- Source:
- Option.cs
- Source:
- Option.cs
public:
Option(System::String ^ feature, System::String ^ name, T defaultValue, ... cli::array <Microsoft::CodeAnalysis::Options::OptionStorageLocation ^> ^ storageLocations);
public Option (string feature, string name, T defaultValue, params Microsoft.CodeAnalysis.Options.OptionStorageLocation[] storageLocations);
new Microsoft.CodeAnalysis.Options.Option<'T> : string * string * 'T * Microsoft.CodeAnalysis.Options.OptionStorageLocation[] -> Microsoft.CodeAnalysis.Options.Option<'T>
Public Sub New (feature As String, name As String, defaultValue As T, ParamArray storageLocations As OptionStorageLocation())
Parameters
- feature
- String
- name
- String
- defaultValue
- T
- storageLocations
- OptionStorageLocation[]
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET