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

When implemented in a derived class, returns the name of the model. The default is null.

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

public virtual string GetModelName()

Return Value

Type: System.String

The name of the model.

.NET Framework
Available since 4.5
Return to top