Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Given an identifier for an Element, returns the actual object represented by this reference (strong typed helper method)
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)
Syntax
public T ResolveElementReference<T>(
ModelBusReference modelBusReference
)
where T : class
public:
generic<typename T>
where T : ref class
T ResolveElementReference(
ModelBusReference^ modelBusReference
)
member ResolveElementReference<'T when 'T : not struct> :
modelBusReference:ModelBusReference -> 'T
Public Function ResolveElementReference(Of T As Class) (
modelBusReference As ModelBusReference
) As T
Parameters
modelBusReference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReferenceUnique identifier for a particular element
Return Value
Type: T
Instance of the resolved element object of type T. Or <c>null</c>if the requested type is not supported by the adapter
Type Parameters
- T
Expected type
See Also
ResolveElementReference Overload
ModelBusAdapter Class
Microsoft.VisualStudio.Modeling.Integration Namespace
Return to top