Udostępnij za pośrednictwem


VCProjectEngineObjectClass.ValidateSchemas Property

Gets or sets whether the VCProjectEngine object validates XML files against schemas.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'Declaration
Public Overridable Property ValidateSchemas As Boolean
    Get
    Set
public virtual bool ValidateSchemas { get; set; }
public:
virtual property bool ValidateSchemas {
    bool get ();
    void set (bool value);
}
abstract ValidateSchemas : bool with get, set
override ValidateSchemas : bool with get, set
function get ValidateSchemas () : boolean
function set ValidateSchemas (value : boolean)

Property Value

Type: System.Boolean
true if XML files are validated; otherwise, false.

Implements

VCProjectEngine.ValidateSchemas

Remarks

If true (default), XML files are validated. Set to false to turn off XML file validating.

Do not instantiate VCProjectEngineObjectClass. Instantiate VCProjectEngineObject instead, as shown below:

Dim Engine As VCProjectEngine
Engine = New VCProjectEngineObject()

.NET Framework Security

See Also

Reference

VCProjectEngineObjectClass Class

Microsoft.VisualStudio.VCProjectEngine Namespace