WebPartGalleryPicker.RemoveExtension Method
NOTE: This API is now obsolete.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Functionality has been superceded by the WebPartAdder class.")> _
Public Shared Function RemoveExtension ( _
filename As String _
) As String
'Usage
Dim filename As String
Dim returnValue As String
returnValue = WebPartGalleryPicker.RemoveExtension(filename)
[ObsoleteAttribute("Functionality has been superceded by the WebPartAdder class.")]
public static string RemoveExtension(
string filename
)
Parameters
- filename
Type: System.String
Return Value
Type: System.String