CreateConstant Method (GraphReference)
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Creates a node with a key of type GraphReference.
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicOverridableFunctionCreateConstant ( _
valueAsGraphReference _
) AsNode
'Usage
DiminstanceAsGraphStoreDimvalueAsGraphReferenceDimreturnValueAsNodereturnValue = instance.CreateConstant(value)
publicvirtualNodeCreateConstant(
GraphReferencevalue
)
public:
virtualNodeCreateConstant(
GraphReferencevalue
)
publicfunctionCreateConstant(
value : GraphReference
) : Node
Parameters
- value
Type: System.Dataflow. . :: . .GraphReference
A graph node reference.
Return Value
Type: System.Dataflow. . :: . .Node
The node with a key of type GraphReference.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).