Share via


ServicingContext.AddItemIfNotDefined, méthode

Ajoutez un élément s'il n'existe pas.

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
Public Sub AddItemIfNotDefined ( _
    itemName As String, _
    objectValue As Object _
)
public void AddItemIfNotDefined(
    string itemName,
    Object objectValue
)

Paramètres

Sécurité .NET Framework

Voir aussi

Référence

ServicingContext Classe

Microsoft.TeamFoundation.Framework.Server, espace de noms