SPCustomWebTemplate.TemplateImage Property

Gets the file that contains the image of the Web template.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public ReadOnly Property TemplateImage As SPPersistedFile
    Get
'Usage
Dim instance As SPCustomWebTemplate
Dim value As SPPersistedFile

value = instance.TemplateImage
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public SPPersistedFile TemplateImage { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPPersistedFile
A SPPersistedFile representing the file that contains the image.

See Also

Reference

SPCustomWebTemplate Class

SPCustomWebTemplate Members

Microsoft.SharePoint Namespace