Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the integer index of an illegal character in the specified URL leaf name.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function IndexOfIllegalCharInUrlLeafName ( _
strLeafName As String _
) As Integer
'Usage
Dim strLeafName As String
Dim returnValue As Integer
returnValue = SPUrlUtility.IndexOfIllegalCharInUrlLeafName(strLeafName)
public static int IndexOfIllegalCharInUrlLeafName(
string strLeafName
)
Parameters
strLeafName
Type: System.StringA string that contains the leaf name.
Return value
Type: System.Int32
A 32-bit integer representing the index of the illegal character within the leaf name.