Visual Basic (Declaration) | |
---|---|
Function ModifyCustomName( _ ByVal name As String, _ ByVal newName As String _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IEnhancedCustomNameSupport Dim name As String Dim newName As String Dim value As Boolean value = instance.ModifyCustomName(name, newName) |
Parameters
- name
- The name of the custom name
- newName
- The new name
Return Value
If true the modify is successful; false otherwiseTarget Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8