StructuredDocumentTag not getting

Hii team,
i am trying to get list of content control (NodeType.StructuredDocumentTag) from the word document. I have document that have content control (Sdt) but when i using following snippet then its getting null. How to resolved this issue.

Snippet :
var sdts = doc.GetChildNodes(NodeType.StructuredDocumentTag, true);

Word document attachment :
METSEP SA PROPRIETARY LIMITED 2022.docx (122.7 KB)

@AlpeshChaudhariDev I have checked your document and do not see any structured document tags in it. Could you please make sure you have attached the correct document?

thanks for response

1 Like