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
声明
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.