Compartilhar via


ValidationMessage.File Property

Gets the name of a referenced file.

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

Syntax

'Declaração
Public Overridable ReadOnly Property File As String
    Get
public virtual string File { get; }
public:
virtual property String^ File {
    String^ get ();
}
abstract File : string
override File : string
function get File () : String

Property Value

Type: System.String
The name of the first referenced file, if one exists.

Remarks

If there no referenced file exists, String.Empty is returned.

.NET Framework Security

See Also

Reference

ValidationMessage Class

Microsoft.VisualStudio.Modeling.Validation Namespace