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
nodeobjectSyntax element (class or method) to probe.
documentobjectSource code document.
pointPointReceives start point of given syntax element.
Returns
- bool
True if succeed; otherwise false.