Share via


XMLSchemaReferences.IgnoreMixedContent Property 

Returns a Boolean that represents whether Microsoft Word performs validation on text nodes that have element siblings and specifies whether these text nodes are saved in XML when the XMLSaveDataOnly property is True.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim xMLSchemaReferences1 As XMLSchemaReferences

Dim returnValue As Boolean
returnValue = xMLSchemaReferences1.IgnoreMixedContent

Dim sampleValue As Boolean
xMLSchemaReferences1.IgnoreMixedContent = sampleValue

Syntax

Property IgnoreMixedContent() As Boolean
bool IgnoreMixedContent {get; set;}
property Boolean IgnoreMixedContent{
    Boolean get();
    Void set(Boolean);
}
public boolean get_IgnoreMixedContent();
public void set_IgnoreMixedContent(boolean);
function get IgnoreMixedContent() : Boolean;
function set IgnoreMixedContent(Boolean);

Remarks

True causes Word to ignore schema violations caused by text nodes that have element siblings; it also prevents these text nodes from being saved in XML when the XMLSaveDataOnly property is True, which helps to prevent text that was inserted by an Extensible Stylesheet Language Transformation (XLST) from being saved as part of the data. False raises validation errors on text nodes with element siblings.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

XMLSchemaReferences Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

XMLSchemaReferences Members