data\file-???.txt | Matches files within the "data" directory e.g. "data\file-007.txt", but not "data\file-7.txt". |
data\*.txt | Matches any ".txt" file within the "data" directory (only within the "data" directory, not in subdirectories) e.g. "data\file.txt", but not "data\a\b\c\file.txt". |
data\**\*.txt | Matches any ".txt" file anywhere within the "data" directory and its subdirectories e.g. "data\file.txt" and also "data\a\b\c\file.txt". |
data\file-???.txt | Matches files within the "data" directory e.g. "data\file-007.txt", but not "data\file-7.txt". |
data\*.txt | Matches any ".txt" file within the "data" directory (only within the "data" directory, not in subdirectories) e.g. "data\file.txt", but not "data\a\b\c\file.txt". |
data\**\*.txt | Matches any ".txt" file anywhere within the "data" directory and its subdirectories e.g. "data\file.txt" and also "data\a\b\c\file.txt". |
The following wildcards are permitted in searchPattern:
* - Zero or more characters.
? - Exactly one character.
Characters other than the wildcards represent themselves.
For example, the searchPattern string "*.txt" searches for all names/paths
ending with the ".txt". The searchPattern string "s*" searches for all
names/paths beginning with the letter "s".
The method works in two different modes (determined by
The following wildcard specifiers are permitted in searchPattern:
* - Zero or more characters.
? - Exactly one character.
Characters other than the wild card specifiers represent themselves.
For example, the searchPattern string "*t" searches for all names in path
ending with the letter "t". The searchPattern string "s*" searches for all
names in path beginning with the letter "s".
The method works in two different modes (determined by
collection.Where(item => !item.IsDirectory)
The private key must be available for this method to succeed.
The private key must be available for this method to succeed.
The private key must be available for this method to succeed.
Only supported on Windows platforms.
Only supported on Windows platforms.
The private key for a certificate must be available for this method to succeed.
If silent operation is requested and the CSP must display UI to operate, this method will fail.
The private key for a certificate must be available for this method to succeed.
The private key for a certificate must be available for this method to succeed.
Only supported on Windows platforms.