Share via


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.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