ValidationMessage.Type Property

Gets the type of validation message.

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

Syntax

'Declaration
Public ReadOnly Property Type As ViolationType
public ViolationType Type { get; }
public:
property ViolationType Type {
    ViolationType get ();
}
member Type : ViolationType with get
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