Compartilhar via


ValidationMessage.Type Property

Gets the type of validation message.

Namespace:  Microsoft.VisualStudio.Modeling.Validation
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaração
Public ReadOnly Property Type As ViolationType
    Get
public ViolationType Type { get; }
public:
property ViolationType Type {
    ViolationType get ();
}
member Type : ViolationType
function get Type () : ViolationType

Property Value

Type: Microsoft.VisualStudio.Modeling.Validation.ViolationType
A ViolationType that indicates the type of message.

Remarks

The type of validation message can be a message, an error, or a warning.

.NET Framework Security

See Also

Reference

ValidationMessage Class

Microsoft.VisualStudio.Modeling.Validation Namespace