Compartilhar via


ValidationMessage.Code Property

Gets the code for the message.

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

Syntax

'Declaração
Public ReadOnly Property Code As String
    Get
public string Code { get; }
public:
property String^ Code {
    String^ get ();
}
member Code : string
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

Microsoft.VisualStudio.Modeling.Validation Namespace