ArgumentExtensions.ExistingOnly メソッド

定義

オーバーロード

ExistingOnly(Argument<DirectoryInfo>)

既存のディレクトリに対応する値のみを受け入れるように引数を構成します。

ExistingOnly(Argument<FileInfo>)

既存のファイルに対応する値のみを受け入れるように引数を構成します。

ExistingOnly(Argument<FileSystemInfo>)

既存のファイルまたはディレクトリに対応する値のみを受け入れるように引数を構成します。

ExistingOnly<T>(Argument<T>)

既存のファイルまたはディレクトリに対応する値のみを受け入れるように引数を構成します。

ExistingOnly(Argument<DirectoryInfo>)

既存のディレクトリに対応する値のみを受け入れるように引数を構成します。

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)

パラメーター

argument
Argument<DirectoryInfo>

構成する引数。

戻り値

構成された引数。

適用対象

ExistingOnly(Argument<FileInfo>)

既存のファイルに対応する値のみを受け入れるように引数を構成します。

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)

パラメーター

argument
Argument<FileInfo>

構成する引数。

戻り値

構成された引数。

適用対象

ExistingOnly(Argument<FileSystemInfo>)

既存のファイルまたはディレクトリに対応する値のみを受け入れるように引数を構成します。

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)

パラメーター

argument
Argument<FileSystemInfo>

構成する引数。

戻り値

構成された引数。

適用対象

ExistingOnly<T>(Argument<T>)

既存のファイルまたはディレクトリに対応する値のみを受け入れるように引数を構成します。

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)

型パラメーター

T

パラメーター

argument
Argument<T>

構成する引数。

戻り値

構成された引数。

適用対象