SPMobileUtility.IsValidTemplateName Method

Returns a Boolean value that indicates whether the specified template name for a mobile Web application is valid.

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

Syntax

'Declaration
Public Shared Function IsValidTemplateName ( _
    templateName As String _
) As Boolean
'Usage
Dim templateName As String
Dim returnValue As Boolean

returnValue = SPMobileUtility.IsValidTemplateName(templateName)
public static bool IsValidTemplateName(
    string templateName
)

Parameters

  • templateName
    Type: System.String

    A string that contains a template name.

Return Value

Type: System.Boolean
true if the template name is valid; otherwise, false.

See Also

Reference

SPMobileUtility Class

SPMobileUtility Members

Microsoft.SharePoint.Utilities Namespace