If you’re trying to get all of the content controls in an OpenXML document, the most obvious way to do it would be:
// Get the document instance
WordprocessingDocument document = ...;
// Get all of the SdtBlock elements
But this will only get you some of the content controls. Basically, it won’t return any...