共用方式為


SPUserResourceCollection Members

Include Protected Members
Include Inherited Members

Represents a collection of user-defined localizable resources associated with a list or a Web site.

The SPUserResourceCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of user resources in the collection. (Overrides SPBaseCollection.Count.)
Public property Item Gets the user resource with the specified name.
Public property Parent Gets the parent object that owns the collection, which is an SPList object for list-scoped resources, or an SPWeb object for Web site-scoped resources.
Public property UpgradedPersistedProperties (Inherited from SPAutoSerializingObject.)

Top

Methods

  Name Description
Public method Add(SPUserResource) Adds the specified user resource to the collection.
Public method Add(String, String, SPResourceType) Creates a user resource and adds it to the collection.
Public method CopyTo Copies the elements of the collection to an array of SPUserResource objects, starting at the specified array index.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets an enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from SPAutoSerializingObject.)
Public method GetType (Inherited from Object.)
Public method GetTypedEnumerator<T> Returns a type-safe enumerator to iterate through the collection. (Inherited from SPBaseCollection.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnDeserialization (Inherited from SPAutoSerializingObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateParent (Inherited from SPAutoSerializingObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an array, starting at the specified array index. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized Gets a Boolean value that indicates whether access to the collection is synchronized or thread-safe. (Inherited from SPBaseCollection.)
Explicit interface implemetationPrivate property ICollection.SyncRoot Gets an object that is used to synchronize access to the collection. (Inherited from SPBaseCollection.)

Top

See Also

Reference

SPUserResourceCollection Class

Microsoft.SharePoint Namespace