ArgumentExtensions.ExistingOnly Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
| ExistingOnly(Argument<DirectoryInfo>) |
Mengonfigurasi argumen untuk hanya menerima nilai yang terkait dengan direktori yang ada. |
| ExistingOnly(Argument<FileInfo>) |
Mengonfigurasi argumen untuk hanya menerima nilai yang terkait dengan file yang ada. |
| ExistingOnly(Argument<FileSystemInfo>) |
Mengonfigurasi argumen untuk hanya menerima nilai yang terkait dengan file atau direktori yang ada. |
| ExistingOnly<T>(Argument<T>) |
Mengonfigurasi argumen untuk hanya menerima nilai yang terkait dengan file atau direktori yang ada. |
ExistingOnly(Argument<DirectoryInfo>)
Mengonfigurasi argumen untuk hanya menerima nilai yang terkait dengan direktori yang ada.
public:
[System::Runtime::CompilerServices::Extension]
static System::CommandLine::Argument<System::IO::DirectoryInfo ^> ^ ExistingOnly(System::CommandLine::Argument<System::IO::DirectoryInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.DirectoryInfo> ExistingOnly (this System.CommandLine.Argument<System.IO.DirectoryInfo> argument);
static member ExistingOnly : System.CommandLine.Argument<System.IO.DirectoryInfo> -> System.CommandLine.Argument<System.IO.DirectoryInfo>
<Extension()>
Public Function ExistingOnly (argument As Argument(Of DirectoryInfo)) As Argument(Of DirectoryInfo)
Parameter
- argument
- Argument<DirectoryInfo>
Argumen yang akan dikonfigurasi.
Mengembalikan
Argumen yang dikonfigurasi.
Berlaku untuk
ExistingOnly(Argument<FileInfo>)
Mengonfigurasi argumen untuk hanya menerima nilai yang terkait dengan file yang ada.
public:
[System::Runtime::CompilerServices::Extension]
static System::CommandLine::Argument<System::IO::FileInfo ^> ^ ExistingOnly(System::CommandLine::Argument<System::IO::FileInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.FileInfo> ExistingOnly (this System.CommandLine.Argument<System.IO.FileInfo> argument);
static member ExistingOnly : System.CommandLine.Argument<System.IO.FileInfo> -> System.CommandLine.Argument<System.IO.FileInfo>
<Extension()>
Public Function ExistingOnly (argument As Argument(Of FileInfo)) As Argument(Of FileInfo)
Parameter
Mengembalikan
Argumen yang dikonfigurasi.
Berlaku untuk
ExistingOnly(Argument<FileSystemInfo>)
Mengonfigurasi argumen untuk hanya menerima nilai yang terkait dengan file atau direktori yang ada.
public:
[System::Runtime::CompilerServices::Extension]
static System::CommandLine::Argument<System::IO::FileSystemInfo ^> ^ ExistingOnly(System::CommandLine::Argument<System::IO::FileSystemInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.FileSystemInfo> ExistingOnly (this System.CommandLine.Argument<System.IO.FileSystemInfo> argument);
static member ExistingOnly : System.CommandLine.Argument<System.IO.FileSystemInfo> -> System.CommandLine.Argument<System.IO.FileSystemInfo>
<Extension()>
Public Function ExistingOnly (argument As Argument(Of FileSystemInfo)) As Argument(Of FileSystemInfo)
Parameter
- argument
- Argument<FileSystemInfo>
Argumen yang akan dikonfigurasi.
Mengembalikan
Argumen yang dikonfigurasi.
Berlaku untuk
ExistingOnly<T>(Argument<T>)
Mengonfigurasi argumen untuk hanya menerima nilai yang terkait dengan file atau direktori yang ada.
public:
generic <typename T>
where T : System::Collections::Generic::IEnumerable<System::IO::FileSystemInfo ^>[System::Runtime::CompilerServices::Extension]
static System::CommandLine::Argument<T> ^ ExistingOnly(System::CommandLine::Argument<T> ^ argument);
public static System.CommandLine.Argument<T> ExistingOnly<T> (this System.CommandLine.Argument<T> argument) where T : System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo>;
static member ExistingOnly : System.CommandLine.Argument<#seq<System.IO.FileSystemInfo>> -> System.CommandLine.Argument<#seq<System.IO.FileSystemInfo>>
<Extension()>
Public Function ExistingOnly(Of T As IEnumerable(Of FileSystemInfo)) (argument As Argument(Of T)) As Argument(Of T)
Jenis parameter
- T
Parameter
- argument
- Argument<T>
Argumen yang akan dikonfigurasi.
Mengembalikan
Argumen yang dikonfigurasi.