Share via


ValidationMessage.Type Property

Gets the type of validation message.

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

Syntax

'Declaration
Public ReadOnly Property Type As ViolationType
'Usage
Dim instance As ValidationMessage 
Dim value As ViolationType 

value = instance.Type
public ViolationType Type { get; }
public:
property ViolationType Type {
    ViolationType get ();
}
public 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

ValidationMessage Members

Microsoft.VisualStudio.Modeling.Validation Namespace