IPatternContext.Test 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
Test(DirectoryInfoBase) |
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
Test(FileInfoBase) |
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
Test(DirectoryInfoBase)
- Source:
- IPatternContext.cs
- Source:
- IPatternContext.cs
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public:
bool Test(Microsoft::Extensions::FileSystemGlobbing::Abstractions::DirectoryInfoBase ^ directory);
public bool Test (Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase directory);
abstract member Test : Microsoft.Extensions.FileSystemGlobbing.Abstractions.DirectoryInfoBase -> bool
Public Function Test (directory As DirectoryInfoBase) As Boolean
Parameters
- directory
- DirectoryInfoBase
Returns
Applies to
Test(FileInfoBase)
- Source:
- IPatternContext.cs
- Source:
- IPatternContext.cs
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.
public:
Microsoft::Extensions::FileSystemGlobbing::Internal::PatternTestResult Test(Microsoft::Extensions::FileSystemGlobbing::Abstractions::FileInfoBase ^ file);
public Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult Test (Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase file);
abstract member Test : Microsoft.Extensions.FileSystemGlobbing.Abstractions.FileInfoBase -> Microsoft.Extensions.FileSystemGlobbing.Internal.PatternTestResult
Public Function Test (file As FileInfoBase) As PatternTestResult
Parameters
- file
- FileInfoBase
Returns
Applies to
.NET