語言

ArgumentExtensions.ExistingOnly 方法

定義

多載

ExistingOnly(Argument<DirectoryInfo[]>)

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<cli::array <System::IO::DirectoryInfo ^> ^> ^ ExistingOnly(System::CommandLine::Argument<cli::array <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<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)

參數

傳回

適用於

ExistingOnly(Argument<FileInfo[]>)

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<cli::array <System::IO::FileInfo ^> ^> ^ ExistingOnly(System::CommandLine::Argument<cli::array <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<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<cli::array <System::IO::FileSystemInfo ^> ^> ^ ExistingOnly(System::CommandLine::Argument<cli::array <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(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)

參數

傳回

適用於