Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Creates an HTML element ID using the specified element name.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Shared Function GenerateIdFromName ( _
name As String _
) As String
public static string GenerateIdFromName(
string name
)
public:
static String^ GenerateIdFromName(
String^ name
)
Parameters
- name
Type: System.String
The name of the HTML element.
Return Value
Type: System.String
The ID of the HTML element.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The name parameter is null reference (Nothing in Visual Basic). |