CookieAttribute.GetModelName Method ()

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the model name.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

public override string GetModelName()

Return Value

Type: System.String

The model name.

This method returns the value of the Name property.

.NET Framework
Available since 4.5
Return to top