How does one define IOleServiceProvider in a WPF application?

complete

Active member
Joined
Oct 24, 2012
Messages
25
Programming Experience
3-5
Here's the relevant MSDN documentation:

SafeWebBrowser.IOleServiceProvider Interface (Microsoft.TeamFoundation.WorkItemTracking.Controls)

As it says there, that interface is declared in the Microsoft.TeamFoundation.WorkItemTracking.Controls.dll assembly. Have you referenced that assembly? If not then you can't import the namespaces or use the types it contains. Also, that documentation shows that that interface is nested within the SafeWebBrowser class, so you would have to either import that class, rather than just its namespace, or else qualify the interface name with the class name.
 
Back
Top Bottom