Partager via


GraphNodeCollection.GetOrCreate, méthode (GraphNodeId, String, GraphCategory)

Espace de noms :  Microsoft.VisualStudio.GraphModel
Assembly :  Microsoft.VisualStudio.GraphModel (dans Microsoft.VisualStudio.GraphModel.dll)

Syntaxe

'Déclaration
Public Function GetOrCreate ( _
    id As GraphNodeId, _
    label As String, _
    category As GraphCategory _
) As GraphNode
public GraphNode GetOrCreate(
    GraphNodeId id,
    string label,
    GraphCategory category
)
public:
GraphNode^ GetOrCreate(
    GraphNodeId^ id, 
    String^ label, 
    GraphCategory^ category
)
member GetOrCreate : 
        id:GraphNodeId * 
        label:string * 
        category:GraphCategory -> GraphNode 
public function GetOrCreate(
    id : GraphNodeId, 
    label : String, 
    category : GraphCategory
) : GraphNode

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.GraphModel.GraphNode

Sécurité .NET Framework

Voir aussi

Référence

GraphNodeCollection Classe

GetOrCreate, surcharge

Microsoft.VisualStudio.GraphModel, espace de noms