Partager via


IValidationRuleViolation.Document Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the path to the document associated with the validation violation.

Namespace:  Microsoft.VisualStudio.SharePoint.Validation
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
ReadOnly Property Document As String
string Document { get; }

Property Value

Type: System.String
A string representing a document path.

Remarks

This property is optional.

.NET Framework Security

See Also

Reference

IValidationRuleViolation Interface

Microsoft.VisualStudio.SharePoint.Validation Namespace