DirectoryInfoExtensionsGetDirectoriesSortedByName(DirectoryInfo, String) Method

Definition

Namespace: Metas.GuiControls
Assembly: Metas.GuiControls (in Metas.GuiControls.dll) Version: 2.8.9053.20243
C#
public static DirectoryInfo[] GetDirectoriesSortedByName(
	this DirectoryInfo di,
	string searchPattern
)

Parameters

di  DirectoryInfo
 
searchPattern  String
 

Return Value

DirectoryInfo

Usage Note

In 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).

See Also