Click or drag to resize

AutomationMLContainerRelinkPart(PackagePart, PackagePart, Uri) Method

Changes the Uri of a package part. The part is removed and readded with the provided newPartUri. All relationships of the part are updated. If a related Part is defined, with the provided part as a target, the relations are redefined.

Namespace: Aml.Engine.AmlObjects
Assembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax
public bool RelinkPart(
	PackagePart part,
	PackagePart relatedPart,
	Uri newPartUri
)

Parameters

part  PackagePart
The part to change the uri
relatedPart  PackagePart
A related source part
newPartUri  Uri
The new Uri for the part

Return Value

Boolean
true, if success; otherwise false
See Also