ArgumentValidation.AcceptExistingOnly メソッド

定義

オーバーロード

名前 説明
AcceptExistingOnly(Argument<DirectoryInfo>)

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

AcceptExistingOnly(Argument<FileInfo>)

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

AcceptExistingOnly(Argument<FileSystemInfo>)

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

AcceptExistingOnly<T>(Argument<T>)

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

AcceptExistingOnly(Argument<DirectoryInfo>)

ソース:
ArgumentValidation.cs
ソース:
ArgumentValidation.cs

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<System::IO::DirectoryInfo ^> ^ AcceptExistingOnly(System::CommandLine::Argument<System::IO::DirectoryInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.DirectoryInfo> AcceptExistingOnly(this System.CommandLine.Argument<System.IO.DirectoryInfo> argument);
static member AcceptExistingOnly : System.CommandLine.Argument<System.IO.DirectoryInfo> -> System.CommandLine.Argument<System.IO.DirectoryInfo>
<Extension()>
Public Function AcceptExistingOnly (argument As Argument(Of DirectoryInfo)) As Argument(Of DirectoryInfo)

パラメーター

argument
Argument<DirectoryInfo>

構成する引数。

返品

構成された引数。

適用対象

AcceptExistingOnly(Argument<FileInfo>)

ソース:
ArgumentValidation.cs
ソース:
ArgumentValidation.cs

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<System::IO::FileInfo ^> ^ AcceptExistingOnly(System::CommandLine::Argument<System::IO::FileInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.FileInfo> AcceptExistingOnly(this System.CommandLine.Argument<System.IO.FileInfo> argument);
static member AcceptExistingOnly : System.CommandLine.Argument<System.IO.FileInfo> -> System.CommandLine.Argument<System.IO.FileInfo>
<Extension()>
Public Function AcceptExistingOnly (argument As Argument(Of FileInfo)) As Argument(Of FileInfo)

パラメーター

argument
Argument<FileInfo>

構成する引数。

返品

構成された引数。

適用対象

AcceptExistingOnly(Argument<FileSystemInfo>)

ソース:
ArgumentValidation.cs
ソース:
ArgumentValidation.cs

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<System::IO::FileSystemInfo ^> ^ AcceptExistingOnly(System::CommandLine::Argument<System::IO::FileSystemInfo ^> ^ argument);
public static System.CommandLine.Argument<System.IO.FileSystemInfo> AcceptExistingOnly(this System.CommandLine.Argument<System.IO.FileSystemInfo> argument);
static member AcceptExistingOnly : System.CommandLine.Argument<System.IO.FileSystemInfo> -> System.CommandLine.Argument<System.IO.FileSystemInfo>
<Extension()>
Public Function AcceptExistingOnly (argument As Argument(Of FileSystemInfo)) As Argument(Of FileSystemInfo)

パラメーター

argument
Argument<FileSystemInfo>

構成する引数。

返品

構成された引数。

適用対象

AcceptExistingOnly<T>(Argument<T>)

ソース:
ArgumentValidation.cs
ソース:
ArgumentValidation.cs

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

public:
generic <typename T>
 where T : System::Collections::Generic::IEnumerable<System::IO::FileSystemInfo ^>[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<T> ^ AcceptExistingOnly(System::CommandLine::Argument<T> ^ argument);
public static System.CommandLine.Argument<T> AcceptExistingOnly<T>(this System.CommandLine.Argument<T> argument) where T : System.Collections.Generic.IEnumerable<System.IO.FileSystemInfo>;
static member AcceptExistingOnly : System.CommandLine.Argument<#seq<System.IO.FileSystemInfo>> -> System.CommandLine.Argument<#seq<System.IO.FileSystemInfo>>
<Extension()>
Public Function AcceptExistingOnly(Of T As IEnumerable(Of FileSystemInfo)) (argument As Argument(Of T)) As Argument(Of T)

型パラメーター

T

パラメーター

argument
Argument<T>

構成する引数。

返品

構成された引数。

適用対象