protected int SetProperty(string collectionPath, string propertyName, object value, Type type) { SettingsCollection collection = GetOrCreateSettingsCollection(collectionPath); collection.SetProperty(propertyName, value, type); return(VSConstants.S_OK); }