/// <include file='doc\CodeWindowManager.uex' path='docs/doc[@for="DocumentProperties.UpdateSelection"]/*' /> /// <summary> /// Call this method when you want the document properties window updated with new information. /// </summary> public void Refresh() { if (this.tracker != null && this.visible) { NativeMethods.ThrowOnFailure(tracker.OnSelectChange(this)); } }
void SetPropertyWindow() { IVsTrackSelectionEx track = _serviceProvider.GetService(typeof(SVsTrackSelectionEx)) as IVsTrackSelectionEx; if (track != null) { track.OnSelectChange(this); } }