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
'宣告
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
- 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.