Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the base path to Web Part class resources.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected ReadOnly Property ClassResourcePath As String
Get
'Usage
Dim value As String
value = Me.ClassResourcePath
protected string ClassResourcePath { get; }
Property Value
Type: System.String
A string that specifies the path to a Web Part's class resources.
Remarks
Use the path returned by the ClassResourcePath property to prefix resource URLs for the browser to fetch. This path does not contain a terminating slash or backslash. This path can also be used to point to a localization directory.
The ClassResourcePath property is available only at run time.