Sets the value of an enum field or property of an object or class
1 | clrSetEnumProperty(objOrType, name, enumtype, enumval)
|
objOrType |
a CLR object, or type name, possibly namespace and assembly qualified type name, e.g. 'My.Namespace.MyClass,MyAssemblyName'. |
name |
the name of a field/property of the object |
enumtype |
type name, possibly namespace and assembly qualified type name, e.g. 'My.Namespace.MyClass,MyAssemblyName'. |
enumval |
the value to set the field with |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.