 | AMLEngineAdapterAssignNewGUIDsAndRedirectExistingInternalLinks Method |
Note: This API is now obsolete.
Assigns the new GUIds and redirect existing internal links.
Namespace: Aml.Engine.AdapterAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntax[ObsoleteAttribute("Make a copy instead and replace the existing class using the copy",
true)]
public static void AssignNewGUIDsAndRedirectExistingInternalLinks(
this SystemUnitClassType systemUnitClass,
bool includeSystemUnitClasses = false
)
<ExtensionAttribute>
<ObsoleteAttribute("Make a copy instead and replace the existing class using the copy",
true)>
Public Shared Sub AssignNewGUIDsAndRedirectExistingInternalLinks (
systemUnitClass As SystemUnitClassType,
Optional includeSystemUnitClasses As Boolean = false
)
public:
[ExtensionAttribute]
[ObsoleteAttribute(L"Make a copy instead and replace the existing class using the copy",
true)]
static void AssignNewGUIDsAndRedirectExistingInternalLinks(
SystemUnitClassType^ systemUnitClass,
bool includeSystemUnitClasses = false
)
Parameters
- systemUnitClass SystemUnitClassType
- The system unit class.
- includeSystemUnitClasses Boolean (Optional)
- if set to true [include system unit classes].
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SystemUnitClassType. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks
If you want an assignment of new GUIDs with updated references, make a copy of the SystemUnitClass and replace the
old class with the new class.
See Also