Takes a snapshot of the visual trees and returns disconnected but not garbage collected visuals.

Namespace: FirstFloor.SilverlightSpy.Interop.Services
Assembly: FirstFloor.SilverlightSpy.Interop (in FirstFloor.SilverlightSpy.Interop.dll) Version: 4.0.0.0 (4.0.5.0)

Syntax

C#
public DependencyObjectInfo[] ProfilerTakeSnapshot()
Visual Basic
Public Function ProfilerTakeSnapshot As DependencyObjectInfo()
Visual C++
public:
array<DependencyObjectInfo^>^ ProfilerTakeSnapshot()

Return Value

The visual that haven't been collected.

See Also