Method GetPosition
GetPosition(object, object, out Point)
Finds position in source code related to the specified syntax element.
public static bool GetPosition(object node, object document, out Point point)
Parameters
node
objectSyntax element (class or method) to probe.
document
objectSource code document.
point
PointReceives start point of given syntax element.
Returns
- bool
True if succeed; otherwise false.