Menu.EnsureOnlyValidSystemTokenNames method
Ensures that all of the Keys in the specified collection are valid system token names.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Sub EnsureOnlyValidSystemTokenNames ( _
namesAndValues As Dictionary(Of String, String) _
)
'Usage
Dim namesAndValues As Dictionary(Of String, String)
Menu.EnsureOnlyValidSystemTokenNames(namesAndValues)
public static void EnsureOnlyValidSystemTokenNames(
Dictionary<string, string> namesAndValues
)
Parameters
- namesAndValues
Type: System.Collections.Generic.Dictionary<String, String>