VisualAddSimpleProperty Method (String, Type, Object, String) |
Add a custom property and also add a PropertyAlias for that new customer property making it appear as a Simple Property.
Namespace:
Demo3D.Visuals
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic CustomProperty AddSimpleProperty(
string name,
Type type,
Object val,
string description
)
Parameters
- name
- Type: SystemString
Name of custom property to create. - type
- Type: SystemType
Type of the custom property value. - val
- Type: SystemObject
Initial value of custom property. - description
- Type: SystemString
Description of custom property.
Return Value
Type:
CustomPropertyThe newly created custom property object.
See Also