ModelElementExtensionMethods::GetExtension Method

 
Namespace:   Microsoft.VisualStudio.Modeling.Extensibility
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetExtension(ModelElement^, DomainClassInfo^)

System_CAPS_pubmethodSystem_CAPS_staticGetExtension(ModelElement^, Guid)

System_CAPS_pubmethodSystem_CAPS_staticGetExtension(ModelElement^, Type^)

Get the ExtensionElement of the specified type from the available extensions of this ModelElement. If the element has no such extension then an InvalidOperationException will be raised.

System_CAPS_pubmethodSystem_CAPS_staticGetExtension<T>(ModelElement^)

Get the ExtensionElement of the specified type from the available extensions of this ModelElement. If the element has no such extension then an InvalidOperationException will be raised.

               

Return to top
Show: