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: 15.0.2.11458
Syntax
C#
public CustomProperty Add(
	string name,
	Type type,
	Object val,
	string description
)

Parameters

name
Type: SystemString
Name of the custom property.
type
Type: SystemType
Type to set the custom property value to be.
val
Type: SystemObject
Value of the custom property.
description
Type: SystemString
Description of the custom property.

Return Value

Type: CustomProperty
New or modified custom property object.
See Also