Share via


ValidationMessage.File Property

Gets the name of a referenced file.

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

Syntax

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

value = instance.File
public virtual string File { get; }
public:
virtual property String^ File {
    String^ get ();
}
public 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

ValidationMessage Members

Microsoft.VisualStudio.Modeling.Validation Namespace