Click or drag to resize

CustomPropertyCollectionAdd Method

Define a new custom property, or modify an existing one.

Equivalent to Define(String, Type, Object, String)


Namespace: Demo3D.Utilities
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public CustomProperty Add(
	string name,
	Type type,
	Object val,
	string description
)

Parameters

name  String
Name of the custom property.
type  Type
Type to set the custom property value to be.
val  Object
Value of the custom property.
description  String
Description of the custom property.

Return Value

CustomProperty
New or modified custom property object.
See Also