ModelElement::AddExtension Method
Assembly: Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | AddExtension(ModelElement^, DomainClassInfo^) | Extend the specified ModelElement with a newly instantiated extension of the specified domain type. An InvalidOperationException will be thrown if the element already has an extension of the same type. |
![]() ![]() | AddExtension(ModelElement^, ExtensionElement^) | Extend the specified ModelElement with a specified extension. An InvalidOperationException will be thrown if the element already has an extension of the same type. |
![]() ![]() | AddExtension(ModelElement^, Guid) | Extend the specified ModelElement with a newly instantiated extension of the identified domain type. An InvalidOperationException will be thrown if the element already has an extension of the same type. |
![]() ![]() | AddExtension(ModelElement^, Type^) | Extend the specified ModelElement with a newly instantiated extension of the specified type. An InvalidOperationException will be thrown if the element already has an extension of the same type. |
![]() ![]() | AddExtension<T>(ModelElement^) | Extend the specified ModelElement with a newly instantiated extension of a particular type. An InvalidOperationException will be thrown if the element already has an extension of the same type. |

