IGraphProvider.GetExtension<T>(GraphObject, T) Method

Definition

Gets the extension T for the given GraphObject.

C++
public:
generic <typename T>
 where T : class T GetExtension(Microsoft::VisualStudio::GraphModel::GraphObject ^ graphObject, T previous);

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

Applies to

Produkt Versiounen
Visual Studio SDK 2017, 2019, 2022