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
- key 
 Type: System.String- The key for this dependency. 
- node 
 Type: Microsoft.TeamFoundation.Framework.Client.CatalogNode- The node the dependency is set on. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.