Click or drag to resize

CustomXmlPartCollection GetById Method

Finds and returns a custom XML part by its identifier.

Namespace: Spire.Doc.Documents.Markup
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public CustomXmlPart GetById(
	string id
)

Parameters

id
Type: System String
Case-sensitive string that identifies the custom XML part.

Return Value

Type: CustomXmlPart
Returns null if a custom XML part with the specified identifier is not found.
See Also