MOSS LIST的一些属性说明

本文详细介绍了Microsoft SharePoint的主要组件,包括SPSite、SPWeb、SPAlert和SPList等类的功能及属性,涵盖了网站集合、单独网站、通知机制以及列表管理等方面的内容。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

命名空间:Microsoft.SharePoint 
  SPSite 
  功能: 
  Represents a collection of sites on a virtual server, including a top-level site and all its subsites. 
  代表一个虚拟服务器的网站集合,包含一个顶集网站和他的所有子站点Windows SharePoint Services类库说
  命名空间:Microsoft.SharePoint


  SPSite
  功能:
  Represents a collection of sites on a virtual server, including a top-level site and all its subsites.
  代表一个虚拟服务器的网站集合,包含一个顶集网站和他的所有子站点
  AllWebs:属性表示上面意义的网站集合
  Quota:网站给定某用户的限额
  IISAllowsAnonymous:IIS是否允许匿名登录
  PortalUrl:网站所在的门户网站的URL对于WSS网站,此项是空值
  URL:网站所在的网址


  SPWeb
  功能:
  Represents a SharePoint site.
  代表SharePoint的一个网站
  Alerts:所有通知的集合
  AllUsers:代表所有用户对象的集合,这个用户可以是网站的用户,也可以是经过认证的域用户
  Configuration:用来建立站点的配置ID,
  DocTemplates:此网站所用的文档模板
  EmailInsertsEnabled:取得值,表明此网站的文档库是否接收Excahnge的公共文件邮件中的附件
  EventHandlersEnabled:读取此网站的文档库是否接收事件处理
  Files:取得此网站根目录下所有的文件
  Folders:取得此站点所有第一级文件夹
  Groups:取得此站点交差站点的组
  IncludeSupportingFolders:取得或设置在此站点中的文件夹或文件夹中的文件是否支持枚举
  IsADAccountCreationMode:取得访问站点的用户是否自动在活动目录里建立帐户
  IsRootWeb:取得此站点是否为站点集中的第一级站点
  Lists:取得在此站点中所有列表的集合
  Modules:取得在此站点中使用的模块
  PortalMember:是否与Portal相关联
  PortalSubscriptionUrl:一直URL供Portal 中的Alerts
  PresenceEnabled:取得或设置是否为记录用户在线信息
  Properties:属性集合,此集合中包含WSS的版本或地域信息
  PublicFolderRootUrl:取得文档库接收公共文件夹中邮件附件的URL
  Roles:取得站点的用户组
  SiteGroups:取得网站集合的交差网站组
  SiteUsers:取得站点集合的所有用户
  Users:取得此站点的用户集合
  Microsoft.SharePoint.SPWeb.ViewStyles:取得站点的视图样式
  Webs:取得在此站点以下所有子站点的集合


  SPAlert
  功能:
  Represents an alert, which generates periodic e-mail notifications sent to a user about the list, list item, document, or document library to which the alert applies.
  代表一个通知,它产生一个定期的e-mail通知发送到用户那里,发更新与此通知关联的列表,列表项,文档,文档库等的消息
  SPAlertFrequency:通知发生的频率,分别为每天一次,每周一次,立即发送
  SPEventType:事件类型:全部,删除,增加,讨论,修改
  Item:此通知属于的列表项或文档
  List:此通知所属的列表或文档库
  User:得到通知的人


  SPList
  Represents a list on a SharePoint Web site.
  代表SharePoint 网站中的一个列表
  AllowDeletion:此列表是否允许删除
  AllowMultiResponses:指定调查是否允许多次答复,由此可见,调查属于列表的一种
  AnonymousPermMask:是否允许匿名用户访问
  BaseTemplate:说明列表基于的模板类型,模板类型有通知、联系人、自定义表格、数据源、讨论板、文档库、事件、自定义列表、不合法列表、问题跟踪、链接、列表模板库、图片库、调查、任务、Web部件库、网站模板库、Xml表格库
  BaseType:列表的基本类型,类型有:讨论板、文档库、自定义列表、问题跟踪、调查、无类型、没有使用的
  DefaultView:默认视图
  Direction:阅读的方向
  EnableAttachments:是否允许添加附件
  EnableModeration:是否需要审批
  EnableVersioning:是否支持版本
  EventSinkAssembly:支持事件通知程序集的强名称
  EventSinkClass:支持事件通知类名称
  EventSinkData:文档库的事件通知中定义的任意字符串
  ExcludeFromTemplate:当列表被存成模板时,是否包含内容
  Fields:列表中字段的集合
  Forms:在列表中用来显示、编辑、增加列表项的表格集合
  Hidden:此列表是否隐藏
  ImageUrl:列表的图标的服务器相对地址
  ItemCount:列表项的数目
  Items:列表项集合
  Lists:该列表所在的列表集合
  MultipleDataList:指定这个在会议工作区中的列表,是否包含多个会议的实例
  OnQuickLaunch:是否有首页的快速启动中显示
  Ordered:是否允许用户重新对列表项排序
  ParentWeb:列表属于的父网站
  Permissions:权限集合
  PropertiesXml:协作应用标记语言,代表列表的属性值
  ReadSecurity:阅读权限设置
  RootFolder:取得在列表中包含所有文件的文件夹
  SchemaXml:取得此列表的Xml样式
  ShowUser:是否在调查中是否显示用户名称
  Views:此列表所有视图集合
  WriteSecurity:指定写入设置


  SPListEvent
  Represents an event that occurs within a document library.
  功能:代表文档库内发生的事件
  ListID:事件发生的文档库的GUID
  PropertiesAfter:事件发生后文档库状态属性
  Type:事件类型:签入、签出、复制、删除、插入、不合法、剪切、撤消签出、更新
  UrlAfter:返回文档或文件夹的网站相对地址,在任何事件发生时,除了删除事件
  UserDisplayName:引发事件的用户的显示名称
  UserID:引发事件的用户ID
  UserLoginName:引发事件的用户登录名称
  WebUrl:事件发生的网站的绝对URL


  SPListItem
  功能:
  Represents an item, or row, in a list.
  代表列表中的一个列表项或者一行
  Attachments:与列表项关联的附件
  Fields:列表项所在的列表字段集合
  File:由列表所代表的文档库中的文件
  ListItems:所在的父列表
  ModerationInformation:审批信息,包含状态和描述
  ParentList:所在父列表
  Xml:列表中的数据的Xml格式


  SPIssueList
  此类从SPList继承
  功能:表示一个问题列表
  EnableAssignedToEmail:当列表项与用户关联时,是否发送e-mail通知


  SPField
  功能:
  Represents a field in a list on a SharePoint Web site.
  代表SharePoint网站中列表的一个字段
  CanToggleHidden:取得此字段是否可以通过用户界面隐藏
  DefaultFormula:计划字段的默认公式
  Direction:阅读顺序
  DisplaySize:显示大小
  FieldReferences:一个字符数组,表示字段引用计算机中的字段名称
  Filterable:表明此字段是否可以过滤
  FilterableNoRecurrence:取得是否可以在视图中的字段建立过滤,却不引发重复的事件
  FromBaseType:是否从基本字段产生
  Hidden:是否在视图中显示
  InternalName:内部名称
  ParentList:包含字段的列表
  ReadOnlyField:此字段是否可以修改
  Reorderable:在字段中的值是否可以重排序
  Required:决定此字段是否为必须的
  Sealed:此字段是否可以被其它字段继承
  Sortable:是否可以被排序
  Type:字段类型: 
  TypeAsString:字段的名称的字符

<style> /* 使用唯一前缀避免样式冲突 */ .fp-carousel-module { position: relative; width: 100%; max-width: 80%; height: 500px; overflow: hidden; margin: 20px auto; perspective: 1200px; box-sizing: border-box; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); } .fp-carousel-module .fp-carousel-container { position: relative; width: 100%; height: 100%; isolation: isolate; /* 创建新的层叠上下文 */ } .fp-carousel-module .fp-carousel-item { position: absolute; top: 50%; left: 50%; width: 60%; height: 80%; transform: translate(-50%, -50%); border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.25); transition: transform 0.7s cubic-bezier(0.25, 0.1, 0.25, 1), filter 0.7s ease, opacity 0.7s ease; z-index: 1; overflow: hidden; background: #fff; will-change: transform; cursor: pointer; } .fp-carousel-module .fp-carousel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; } .fp-carousel-module .fp-description { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: white; padding: 20px 15px 15px; transform: translateY(100%); transition: transform 0.5s ease-out; text-align: center; font-size: 16px; font-weight: 500; pointer-events: none; } /* 当前激活项样式 */ .fp-carousel-module .fp-carousel-item.fp-active { transform: translate(-50%, -50%) scale(1.15); z-index: 100; box-shadow: 0 25px 50px rgba(0,0,0,0.3); cursor: default; } .fp-carousel-module .fp-carousel-item.fp-active .fp-description { transform: translateY(0); } /* 堆叠项样式 */ .fp-carousel-module .fp-carousel-item.fp-prev { transform: translate(calc(-150% - 30px), -50%) scale(0.85); z-index: 20; opacity: 0.85; filter: blur(1px); } .fp-carousel-module .fp-carousel-item.fp-next { transform: translate(calc(50% + 30px), -50%) scale(0.85); z-index: 20; opacity: 0.85; filter: blur(1px); } .fp-carousel-module .fp-carousel-item.fp-prev-far { transform: translate(calc(-250% - 60px), -50%) scale(0.7); z-index: 15; opacity: 0.7; filter: blur(2px); } .fp-carousel-module .fp-carousel-item.fp-next-far { transform: translate(calc(150% + 60px), -50%) scale(0.7); z-index: 15; opacity: 0.7; filter: blur(2px); } .fp-carousel-module .fp-carousel-item.fp-hidden { opacity: 0; z-index: 0; transform: translate(calc(-50% + 300px), -50%) scale(0.5); } /* 悬停效果 */ .fp-carousel-module .fp-carousel-item.fp-prev::after, .fp-carousel-module .fp-carousel-item.fp-next::after, .fp-carousel-module .fp-carousel-item.fp-prev-far::after, .fp-carousel-module .fp-carousel-item.fp-next-far::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.1); transition: background 0.3s ease; } .fp-carousel-module .fp-carousel-item.fp-prev:hover::after, .fp-carousel-module .fp-carousel-item.fp-next:hover::after, .fp-carousel-module .fp-carousel-item.fp-prev-far:hover::after, .fp-carousel-module .fp-carousel-item.fp-next-far:hover::after { background: rgba(255,255,255,0.3); } /* 导航按钮 */ .fp-carousel-module .fp-nav-btn { position: absolute; top: 0; height: 100%; width: 15%; z-index: 200; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.5; transition: opacity 0.3s ease; } .fp-carousel-module .fp-nav-btn::before { content: ''; position: absolute; top: 0; bottom: 0; width: 100%; z-index: -1; } .fp-carousel-module .fp-nav-btn:hover { opacity: 1; } .fp-carousel-module .fp-nav-btn.fp-prev-btn { left: 0; } .fp-carousel-module .fp-nav-btn.fp-prev-btn::before { background: linear-gradient(90deg, rgba(0,0,0,0.4), transparent); } .fp-carousel-module .fp-nav-btn.fp-prev-btn .fp-arrow { transform: rotate(180deg); margin-left: -20px; } .fp-carousel-module .fp-nav-btn.fp-next-btn { right: 0; } .fp-carousel-module .fp-nav-btn.fp-next-btn::before { background: linear-gradient(270deg, rgba(0,0,0,0.4), transparent); } .fp-carousel-module .fp-arrow { display: block; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.8); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; color: #333; box-shadow: 0 2px 10px rgba(0,0,0,0.2); pointer-events: auto; transition: transform 0.2s ease, background 0.2s ease; } .fp-carousel-module .fp-arrow:hover { background: rgba(255,255,255,1); transform: scale(1.1); } /* 响应式设计 */ @media (max-width: 768px) { .fp-carousel-module { height: 400px; } .fp-carousel-module .fp-carousel-item { width: 70%; height: 85%; } .fp-carousel-module .fp-nav-btn { width: 20%; } } @media (max-width: 480px) { .fp-carousel-module { height: 300px; } .fp-carousel-module .fp-carousel-item { width: 85%; height: 90%; } .fp-carousel-module .fp-description { font-size: 14px; padding: 15px 10px 10px; } } </style> <div class="fp-carousel-module"> <div class="fp-carousel-container"> <div class="fp-carousel-item fp-active" data-index="0"> <img src="https://picsum.photos/id/1015/1000/750" alt="Mountain View"> <div class="fp-description">Majestic mountain range at sunrise</div> </div> <div class="fp-carousel-item fp-next" data-index="1"> <img src="https://picsum.photos/id/1035/1000/750" alt="Ocean Waves"> <div class="fp-description">Turquoise ocean waves crashing on rocks</div> </div> <div class="fp-carousel-item fp-next-far" data-index="2"> <img src="https://picsum.photos/id/1040/1000/750" alt="Forest Path"> <div class="fp-description">Mystical forest path covered in moss</div> </div> <div class="fp-carousel-item fp-prev" data-index="3"> <img src="https://picsum.photos/id/1031/1000/750" alt="Desert Dunes"> <div class="fp-description">Golden desert dunes at sunset</div> </div> <div class="fp-carousel-item fp-prev-far" data-index="4"> <img src="https://picsum.photos/id/1018/1000/750" alt="City Skyline"> <div class="fp-description">Urban city skyline at twilight</div> </div> <div class="fp-nav-btn fp-prev-btn"> <div class="fp-arrow">❮</div> </div> <div class="fp-nav-btn fp-next-btn"> <div class="fp-arrow">❯</div> </div> </div> </div> <script> (function() { // 封装整个轮播逻辑避免全局污染 const initCarousel = function(module) { const container = module.querySelector('.fp-carousel-container'); const items = Array.from(module.querySelectorAll('.fp-carousel-item')); const prevBtn = module.querySelector('.fp-prev-btn'); const nextBtn = module.querySelector('.fp-next-btn'); let currentIndex = 0; // 初始化位置 updatePositions(); // 事件绑定函数 const bindEvents = function() { // 图片点击事件 items.forEach(item => { item.addEventListener('click', function(e) { e.stopPropagation(); if (this.classList.contains('fp-next') || this.classList.contains('fp-next-far')) { navigate(1); } else if (this.classList.contains('fp-prev') || this.classList.contains('fp-prev-far')) { navigate(-1); } }); }); // 容器区域点击 container.addEventListener('click', function(e) { const rect = container.getBoundingClientRect(); const clickX = e.clientX - rect.left; if (clickX > rect.width * 3/4) { navigate(1); } else if (clickX < rect.width * 1/4) { navigate(-1); } }); // 导航按钮 prevBtn.addEventListener('click', function(e) { e.stopPropagation(); navigate(-1); }); nextBtn.addEventListener('click', function(e) { e.stopPropagation(); navigate(1); }); // 键盘导航 - 仅在当前轮播激活时响应 document.addEventListener('keydown', function(e) { // 检查事件是否发生在当前轮播模块内 if (document.activeElement.closest('.fp-carousel-module') !== module) return; if (e.key === 'ArrowLeft') { navigate(-1); } else if (e.key === 'ArrowRight') { navigate(1); } }); // 响应式调整 window.addEventListener('resize', function() { updatePositions(); }); }; // 导航函数 function navigate(direction) { currentIndex = (currentIndex + direction + items.length) % items.length; updatePositions(); } // 更新位置 function updatePositions() { items.forEach((item, index) => { item.classList.remove('fp-active', 'fp-prev', 'fp-next', 'fp-prev-far', 'fp-next-far', 'fp-hidden'); const position = (index - currentIndex + items.length) % items.length; if (position === 0) { item.classList.add('fp-active'); } else if (position === 1) { item.classList.add('fp-next'); } else if (position === 2) { item.classList.add('fp-next-far'); } else if (position === items.length - 1) { item.classList.add('fp-prev'); } else if (position === items.length - 2) { item.classList.add('fp-prev-far'); } else { item.classList.add('fp-hidden'); } }); } // 初始化事件绑定 bindEvents(); }; // 初始化页面上的所有轮播模块 document.querySelectorAll('.fp-carousel-module').forEach(initCarousel); })(); </script> 这段代码表现出的容器右边上下两个圆角出现闪烁问题怎么修改?左边的箭头方向错了
06-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值