Share via


CatalogDependencyGroup.SetSingletonDependency Method

Sets the singleton dependency for the given node with the key. This will add the dependency if it is not present and overwrite it if it is.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub SetSingletonDependency ( _
    key As String, _
    node As CatalogNode _
)
public void SetSingletonDependency(
    string key,
    CatalogNode node
)
public:
void SetSingletonDependency(
    String^ key, 
    CatalogNode^ node
)
member SetSingletonDependency : 
        key:string * 
        node:CatalogNode -> unit
public function SetSingletonDependency(
    key : String, 
    node : CatalogNode
)

Parameters

.NET Framework Security

See Also

Reference

CatalogDependencyGroup Class

Microsoft.TeamFoundation.Framework.Client Namespace