DirectoryInfoExtensionsGetFilesSortedByName(DirectoryInfo, String, SearchOption) Method
Namespace: Metas.GuiControlsAssembly: Metas.GuiControls (in Metas.GuiControls.dll) Version: 2.8.9053.20243
public static FileInfo[] GetFilesSortedByName(
this DirectoryInfo di,
string searchPattern,
SearchOption searchOption
)
<ExtensionAttribute>
Public Shared Function GetFilesSortedByName (
di As DirectoryInfo,
searchPattern As String,
searchOption As SearchOption
) As FileInfo()
public:
[ExtensionAttribute]
static array<FileInfo^>^ GetFilesSortedByName(
DirectoryInfo^ di,
String^ searchPattern,
SearchOption searchOption
)
[<ExtensionAttribute>]
static member GetFilesSortedByName :
di : DirectoryInfo *
searchPattern : string *
searchOption : SearchOption -> FileInfo[]
- di DirectoryInfo
-
- searchPattern String
-
- searchOption SearchOption
-
FileInfoIn Visual Basic and C#, you can call this method as an instance method on any object of type
DirectoryInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).