WebPartGalleryPicker.RemoveExtension method
NOTE: This API is now obsolete.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
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