ModelBusAdapter.ResolveElementReference<T> Method (ModelBusReference)
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
'Declaration
Public Function ResolveElementReference(Of T As Class) ( _
modelBusReference As ModelBusReference _
) As T
public T ResolveElementReference<T>(
ModelBusReference modelBusReference
)
where T : class
public:
generic<typename T>
where T : ref class
T ResolveElementReference(
ModelBusReference^ modelBusReference
)
member ResolveElementReference :
modelBusReference:ModelBusReference -> 'T when 'T : not struct
JScript does not support generic types or methods.
Type Parameters
- T
Expected type
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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.