Partager via


GraphPropertyCollection.AddNewProperty, méthode (String, Type, Graph, GraphMetadata)

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

Syntaxe

'Déclaration
Public Function AddNewProperty ( _
    id As String, _
    dataType As Type, _
    metadataGraph As Graph, _
    metadata As GraphMetadata _
) As GraphProperty
public GraphProperty AddNewProperty(
    string id,
    Type dataType,
    Graph metadataGraph,
    GraphMetadata metadata
)
public:
GraphProperty^ AddNewProperty(
    String^ id, 
    Type^ dataType, 
    Graph^ metadataGraph, 
    GraphMetadata^ metadata
)
member AddNewProperty : 
        id:string * 
        dataType:Type * 
        metadataGraph:Graph * 
        metadata:GraphMetadata -> GraphProperty 
public function AddNewProperty(
    id : String, 
    dataType : Type, 
    metadataGraph : Graph, 
    metadata : GraphMetadata
) : GraphProperty

Paramètres

Valeur de retour

Type : Microsoft.VisualStudio.GraphModel.GraphProperty

Sécurité .NET Framework

Voir aussi

Référence

GraphPropertyCollection Classe

AddNewProperty, surcharge

Microsoft.VisualStudio.GraphModel, espace de noms