Bagikan melalui


OptionExtensions.LegalFilePathsOnly<TOption>(TOption) Metode

Definisi

Mengonfigurasi opsi untuk hanya menerima nilai yang mewakili jalur file hukum.

public:
generic <typename TOption>
 where TOption : System::CommandLine::Option[System::Runtime::CompilerServices::Extension]
 static TOption LegalFilePathsOnly(TOption option);
public static TOption LegalFilePathsOnly<TOption> (this TOption option) where TOption : System.CommandLine.Option;
static member LegalFilePathsOnly : 'Option -> 'Option (requires 'Option :> System.CommandLine.Option)
<Extension()>
Public Function LegalFilePathsOnly(Of TOption As Option) (option As TOption) As TOption

Jenis parameter

TOption

Parameter

option
TOption

Opsi untuk mengonfigurasi.

Mengembalikan

TOption

Opsi diperluas.

Berlaku untuk