ModelNameAttribute Class

Use this attribute to change the name of the ModelDescription generated for a type.
<AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)> _ 
Public NotInheritable Class ModelNameAttribute 
Inherits Attribute
This language is not supported or no code example is available.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)] 
public sealed class ModelNameAttribute : Attribute
This language is not supported or no code example is available.
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false)] 
public ref class ModelNameAttribute sealed : public Attribute^
This language is not supported or no code example is available.
public  
AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum, AllowMultiple = false, Inherited = false) 
final class ModelNameAttribute 
extends Attribute
This language is not supported or no code example is available.
Name Description
Public property Name
Top

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition