Click or drag to resize

CustomPropertyCollectionDefine Method

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

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


Namespace: Demo3D.Utilities
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public CustomProperty Define(
	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