VertexTypeNewProperty Method |
Creates a new Property.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public PropertyType NewProperty(
string name,
DataType dt,
PropertyKind kind
)
Public Function NewProperty (
name As String,
dt As DataType,
kind As PropertyKind
) As PropertyType
public:
PropertyType^ NewProperty(
String^ name,
DataType dt,
PropertyKind kind
)
member NewProperty :
name : string *
dt : DataType *
kind : PropertyKind -> PropertyType
Parameters
- name
- Type: SystemString
Unique name for the new Property. - dt
- Type: VelocityGraphDataType
Data type for the new Property. - kind
- Type: VelocityGraphPropertyKind
Property kind.
Return Value
Type:
PropertyTypeUnique Property identifier.
See Also