 | InheritanceExtensionsChangeNameAndReferencesT Method |
Changes the name of the CAEX class and all the references to the class in the
whole CAEX document.
Namespace: Aml.Engine.CAEX.ExtensionsAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic static void ChangeNameAndReferences<T>(
this IClassWithBaseClassReference<T> caexClass,
string name
)
where T : CAEXObject
<ExtensionAttribute>
Public Shared Sub ChangeNameAndReferences(Of T As CAEXObject) (
caexClass As IClassWithBaseClassReference(Of T),
name As String
)
public:
[ExtensionAttribute]
generic<typename T>
where T : CAEXObject
static void ChangeNameAndReferences(
IClassWithBaseClassReference<T>^ caexClass,
String^ name
)
Parameters
- caexClass IClassWithBaseClassReferenceT
- The CAEX class which name is changed.
- name String
- The new name.
Type Parameters
- T
- CAEAX object type
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IClassWithBaseClassReferenceT. 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).
See Also