TemplateEngine.Docx.WordDocumentContainer.GetPartById C# (CSharp) Method

GetPartById() private method

private GetPartById ( string partIdentifier ) : OpenXmlPart
partIdentifier string
return OpenXmlPart
		internal OpenXmlPart GetPartById(string partIdentifier)
		{
			if (_wordDocument == null)
				return null;

			try
			{
				return _wordDocument.MainDocumentPart.GetPartById(partIdentifier);
			}
			catch (ArgumentOutOfRangeException)
			{
				return null;
			}
		}
		internal void RemovePartById(string partIdentifier)