SPUserResource Members

Include Protected Members
Include Inherited Members

Represents a user-defined localizable resource.

The SPUserResource type exposes the following members.

Constructors

  Name Description
Public method SPUserResource(String, SPResourceType) Initializes a new instance of the SPUserResource class based on a specified name and resource type.
Public method SPUserResource(String, String, SPResourceType) Initializes a new instance of the SPUserResource class based on a specified name, value, and resource type.

Top

Properties

  Name Description
Public property Name Gets the name of the user resource.
Public property Parent Gets an object that corresponds to the scope of the user resource, which can be an SPList object or an SPWeb object.
Public property Scope Gets a value that indicates the scope of the user resource.
Public property Type Gets the type of the user resource, which can be single line or multi-line.
Public property Value Gets or sets the value of the resource for the thread's culture.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValueForUICulture Returns the value of the resource for the specified culture.
Protected method MemberwiseClone (Inherited from Object.)
Public method SetValueForUICulture Sets the value of the resource for the specified culture.
Public method ToString (Inherited from Object.)
Public method Update Applies the values for the resource.

Top

See Also

Reference

SPUserResource Class

Microsoft.SharePoint Namespace