private GetSelectionProps ( IVwSelection vwSel, ITsTextProps &vttp, IVwPropertyStore &vvps, int &cttp ) : void | ||
vwSel | IVwSelection | |
vttp | ITsTextProps | |
vvps | IVwPropertyStore | |
cttp | int | |
Результат | void |
public SelectionWrapper(SimpleRootSite rootSite) { SelectionHelper = new SelectionHelper(rootSite.EditingHelper.CurrentSelection); ITsTextProps[] textProps; IVwPropertyStore[] propertyStores; int numberOfProps; SelectionHelper.GetSelectionProps(SelectionHelper.Selection, out textProps, out propertyStores, out numberOfProps); if (numberOfProps > 0) m_TextProps = textProps; }