| 
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
Syntax
 
 
public CustomXmlPart GetById(
	string id
)
 
Public Function GetById ( 
	id As String
) As CustomXmlPart
 
public:
CustomXmlPart^ GetById(
	String^ id
)
 
member GetById : 
id : string -> CustomXmlPart 
 
 
 
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
See Also