Syntax

Property of IDocumentData

Document active syntax property

Read-Write Property of type ISyntax

JavaScript

var pSyntax = DocumentData.Syntax;
DocumentData.Syntax = pSyntax;

Visual Basic Script

pSyntax = DocumentData.Syntax
DocumentData.Syntax = pSyntax

C++

CComPtr<ISyntax> ppSyntax;
HRESULT hr = DocumentData.get_Syntax(&ppSyntax);
hr = DocumentData.put_Syntax(ppSyntax);