public int GetProperty(int propid, out object pvar) { if (propid == (int)__VSFPROPID.VSFPROPID_ExtWindowObject) { pvar = new VsToolWindowToolbarHostMock(); } else if (propid == (int)__VSFPROPID.VSFPROPID_Caption) { pvar = _caption; } else { pvar = null; } return VSConstants.S_OK; }
public int GetProperty(int propid, out object pvar) { if (propid == (int)__VSFPROPID.VSFPROPID_ExtWindowObject) { pvar = new VsToolWindowToolbarHostMock(); } else if (propid == (int)__VSFPROPID.VSFPROPID_Caption) { pvar = _caption; } else { pvar = null; } return(VSConstants.S_OK); }