Bagikan melalui


ModelAnnotationClass.NameMandatory Property

Gets a value that indicates whether annotations of this class must always have a name.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public ReadOnly Property NameMandatory As Boolean
public bool NameMandatory { get; }
public:
property bool NameMandatory {
    bool get ();
}
member NameMandatory : bool
function get NameMandatory () : boolean

Property Value

Type: System.Boolean
true if annotations of this kind must always have a name; otherwise, false.

.NET Framework Security

See Also

Reference

ModelAnnotationClass Class

Microsoft.Data.Schema.SchemaModel Namespace