GraphNewVertexProperty Method |
Creates a new Property.
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public PropertyType NewVertexProperty(
VertexType vertexType,
string name,
DataType dt,
PropertyKind kind
)
Public Function NewVertexProperty (
vertexType As VertexType,
name As String,
dt As DataType,
kind As PropertyKind
) As PropertyType
public:
PropertyType^ NewVertexProperty(
VertexType^ vertexType,
String^ name,
DataType dt,
PropertyKind kind
)
member NewVertexProperty :
vertexType : VertexType *
name : string *
dt : DataType *
kind : PropertyKind -> PropertyType
Parameters
- vertexType
- Type: VelocityGraphVertexType
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