ArgumentExtensions.ExistingOnly Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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())
Parameters
- argument
- Argument<DirectoryInfo[]>
Returns
Applies to
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)
Parameters
- argument
- Argument<DirectoryInfo>
Returns
Applies to
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())
Parameters
Returns
Applies to
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)
Parameters
Returns
Applies to
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())
Parameters
- argument
- Argument<FileSystemInfo[]>
Returns
Applies to
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)
Parameters
- argument
- Argument<FileSystemInfo>