Freigeben über


ValidationMessage.File Property

Gets the name of a referenced file.

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

Syntax

'Declaration
Public Overridable ReadOnly Property File As String
public virtual string File { get; }
public:
virtual property String^ File {
    String^ get ();
}
abstract File : string with get 
override File : string with get
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