SPWebPartManager.GetServerRelativeClassResourcePath Method
Gets the server relative URL for a specified Web Part class.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Parameters
- web
- Type: Microsoft.SharePoint.SPWeb
A website associated with the Web Part.
- webPartType
- Type: System.Type
The type of a specified Web Part.
