## StructuredDocumentTagCollection::GetByTag method


Returns the first structured document tag encountered in the collection with the specified tag.

```cpp
System::SharedPtr<Aspose::Words::Markup::IStructuredDocumentTag> Aspose::Words::Markup::StructuredDocumentTagCollection::GetByTag(const System::String &tag)
```


| Parameter | Type | Description |
| --- | --- | --- |
| tag | const System::String\& | The tag of the structured document tag. |
## Remarks


Returns null if the structured document tag with the specified tag cannot be found.

## See Also

* Interface [IStructuredDocumentTag](../../istructureddocumenttag/)
* Class [StructuredDocumentTagCollection](../)
* Namespace [Aspose::Words::Markup](../../)
* Library [Aspose.Words for C++](../../../)
