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

Return Value

Type: System.String

See Also

Reference

WebPartGalleryPicker Class

WebPartGalleryPicker Members

Microsoft.SharePoint.WebControls Namespace