Partilhar via


Método GraphPropertyCollection.AddNewProperty (String, Type, Graph)

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (em Microsoft.VisualStudio.GraphModel.dll)

Sintaxe

'Declaração
Public Function AddNewProperty ( _
    id As String, _
    dataType As Type, _
    metadataGraph As Graph _
) As GraphProperty
public GraphProperty AddNewProperty(
    string id,
    Type dataType,
    Graph metadataGraph
)
public:
GraphProperty^ AddNewProperty(
    String^ id, 
    Type^ dataType, 
    Graph^ metadataGraph
)
member AddNewProperty : 
        id:string * 
        dataType:Type * 
        metadataGraph:Graph -> GraphProperty 
public function AddNewProperty(
    id : String, 
    dataType : Type, 
    metadataGraph : Graph
) : GraphProperty

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.GraphModel.GraphProperty

Segurança do .NET Framework

Consulte também

Referência

GraphPropertyCollection Classe

Sobrecargas AddNewProperty

Namespace Microsoft.VisualStudio.GraphModel