Condividi tramite


Metodo GraphPropertyCollection.AddNewProperty (String, Type, Graph, GraphMetadata)

Spazio dei nomi:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Sintassi

'Dichiarazione
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

Parametri

Valore restituito

Tipo: Microsoft.VisualStudio.GraphModel.GraphProperty

Sicurezza di .NET Framework

Vedere anche

Riferimenti

GraphPropertyCollection Classe

Overload AddNewProperty

Spazio dei nomi Microsoft.VisualStudio.GraphModel