public IShellCodeModelElement2 AddProperty(string GetterName, string PutterName, object Type, object Position, vsCMAccess Access, object Location) { return (ShellObjectFactory.CreateFromCodeElement( _codeInterface.AddProperty(GetterName, PutterName, Type, Position, Access, Location) as CodeElement)); }
protected override object NewProperty(NewCodeElementItemParams newItemParams, string path) { return(_interface.AddProperty(newItemParams.Get ? path : null, newItemParams.Set ? path : null, newItemParams.MemberType, newItemParams.Position, newItemParams.AccessKind, Type.Missing)); }