///<summary> ///Gets the service object of the specified type. ///</summary> ///<returns> ///A service object of type <paramref name="serviceType"/>.-or- null if there is no service object of type <paramref name="serviceType"/>. ///</returns> ///<param name="serviceType">An object that specifies the type of service object to get. </param><filterpriority>2</filterpriority> public object GetService(Type serviceType) { return(ShellHelper.GetService(appObject as Microsoft.VisualStudio.OLE.Interop.IServiceProvider, serviceType)); }