共用方式為


SPRoleDefinitionBindingCollection members

Include protected members
Include inherited members

定義繫結至角色指派物件的角色定義。

The SPRoleDefinitionBindingCollection type exposes the following members.

Constructors

  Name Description
Public method SPRoleDefinitionBindingCollection 初始化SPRoleDefinitionBindingCollection類別的新執行個體。

Top

Properties

  Name Description
Public property Count 取得繫結集合中的角色定義的數字。 (Overrides SPBaseCollection.Count.)
Public property Item 取得集合指定索引處的角色定義。
Public property Xml 取得角色定義繫結集合的 XML 格式。

Top

Methods

  Name Description
Public method Add 將指定的角色定義新增至繫結集合。
Public method Contains 傳回布林值,指出指定的角色定義是否繫結集合中。
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator 取得列舉值來逐一查看集合。 (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> 傳回逐一查看集合的型別安全列舉值。 (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(Int32) 移除集合中的角色定義中指定索引處。
Public method Remove(SPRoleDefinition) 從繫結集合中移除指定的角色定義。
Public method RemoveAll 從繫結集合中移除所有角色定義。
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo 陣列,指定的陣列索引處開始複製集合的項目。 (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized 取得布林值,這個值,指出對集合的存取是否同步處理或安全執行緒。 (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot 取得用於同步化存取集合的物件。 (Inherited from SPBaseCollection.)

Top

請參閱

參照

SPRoleDefinitionBindingCollection class

Microsoft.SharePoint namespace