IGraphProvider.GetExtension<T>(GraphObject, T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the extension T for the given GraphObject.
public:
generic <typename T>
where T : class T GetExtension(Microsoft::VisualStudio::GraphModel::GraphObject ^ graphObject, T previous);
public T GetExtension<T> (Microsoft.VisualStudio.GraphModel.GraphObject graphObject, T previous) where T : class;
abstract member GetExtension : Microsoft.VisualStudio.GraphModel.GraphObject * 'T -> 'T (requires 'T : null)
Public Function GetExtension(Of T As Class) (graphObject As GraphObject, previous As T) As T
Type Parameters
- T
Parameters
- graphObject
- GraphObject
The GraphObject whose extension is being retrieved.
- previous
- T
The previous providers result. This can be used to chain multiple provider's extension together if necessary.
Returns
T