Table of Contents

Method SetId

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

SetId(object, string)

Assigns a new id by writing to the private m_id backing field expected by Vista graph elements.

public static void SetId(object target, string newId)

Parameters

target object

Target object whose id field will be overwritten.

newId string

Id string to assign.

Exceptions

Exception

Thrown when the target does not declare the expected private m_id field.