ValidationMessage.Type Property
Gets the type of validation message.
Namespace: Microsoft.VisualStudio.Modeling.Validation
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.