Visual Basic (Declaration) | |
---|---|
Public Shared Function GetUniqueFolderName( _ ByVal preferredName As String, _ ByVal parentDirectory As DirectoryInfo _ ) As String |
Visual Basic (Usage) | ![]() |
---|---|
Dim preferredName As String Dim parentDirectory As DirectoryInfo Dim value As String value = Common.GetUniqueFolderName(preferredName, parentDirectory) |
C# | |
---|---|
public static string GetUniqueFolderName( string preferredName, DirectoryInfo parentDirectory ) |
C++/CLI | |
---|---|
public: static String^ GetUniqueFolderName( String^ preferredName, DirectoryInfo^ parentDirectory ) |
Parameters
- preferredName
- parentDirectory
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2