다음을 통해 공유


Template.IsCustom Property

Gets or sets a Boolean value that pecifies whether the Template object is a site template - that is, a template that is contained in a template (.stp) file.

Namespace:  [Sites Web service]
Web service reference: http://Site/_vti_bin/Sites.asmx

Syntax

'Declaration
Public Property IsCustom As Boolean
    Get
    Set
'Usage
Dim instance As Template
Dim value As Boolean

value = instance.IsCustom

instance.IsCustom = value
public bool IsCustom { get; set; }

Property Value

Type: System.Boolean
Returns true if the template object is a custom template; otherwise returns false.

Remarks

You create a custom template file when you save a SharePoint Foundation site as a template.

See Also

Reference

Template Class

Template Members

Sites Web Service