Clone Method

Clones an existing enum.

Syntax

Sub Clone()


Parameters


None



Return Value


Type: VSEnumPropertyVale

Examples

IronPython

#Clone enum

myEnum = VSEnumPropertyValue(1, "red;amber;green")
myEnum_clone = myEnum.Clone()


C#

//Clone enum

VSEnumPropertyValue myEnum = new VSEnumPropertyValue(1, "first;second;third");
VSEnumPropertyValue myEnum_clone = myEnum.Clone();

Remarks