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)
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.StringA string that contains a template name.
Return value
Type: System.Boolean
true if the template name is valid; otherwise, false.