Share via


ValidationMessage.Code Property

Gets the code for the message.

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

Syntax

'Declaration
Public ReadOnly Property Code As String
'Usage
Dim instance As ValidationMessage 
Dim value As String 

value = instance.Code
public string Code { get; }
public:
property String^ Code {
    String^ get ();
}
public function get Code () : String

Property Value

Type: System.String
Returns the message code.

Remarks

The code for each kind of ValidationMessage must be unique.

.NET Framework Security

See Also

Reference

ValidationMessage Class

ValidationMessage Members

Microsoft.VisualStudio.Modeling.Validation Namespace