GraphNewEdgeProperty Method |
Creates a new Property.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public PropertyType NewEdgeProperty(
EdgeType edgeType,
string name,
DataType dt,
PropertyKind kind
)
Public Function NewEdgeProperty (
edgeType As EdgeType,
name As String,
dt As DataType,
kind As PropertyKind
) As PropertyType
public:
PropertyType^ NewEdgeProperty(
EdgeType^ edgeType,
String^ name,
DataType dt,
PropertyKind kind
)
member NewEdgeProperty :
edgeType : EdgeType *
name : string *
dt : DataType *
kind : PropertyKind -> PropertyType
Parameters
- edgeType
- Type: VelocityGraphEdgeType
Node or edge type identifier. - 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