PresentationSource::CurrentSources Property
.NET Framework (current version)
Returns a list of sources.
Assembly: PresentationCore (in PresentationCore.dll)
public: property IEnumerable^ CurrentSources { [SecurityCriticalAttribute] static IEnumerable^ get(); }
The returned list supports an enumerator over a read-only, thread-safe copy of the list of sources as added with AddSource.
The enumerator skips any dead weak references in the list.
UIPermission
to get sources. Associated enumeration: UIPermissionWindow::AllWindows.
.NET Framework
Available since 3.0
Available since 3.0
Show: