SPCustomWebTemplate.FileName Property

Gets the file name of the .wsp file containing the Web template.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public ReadOnly Property FileName As String
    Get
'Usage
Dim instance As SPCustomWebTemplate
Dim value As String

value = instance.FileName
public string FileName { get; }

Property Value

Type: System.String
A String that represents the file name; for example, "MyCustomWebTemplate.wsp".

Remarks

FileName always has the same value as SPWebTemplate.Name.

See Also

Reference

SPCustomWebTemplate Class

SPCustomWebTemplate Members

Microsoft.SharePoint Namespace