This documentation is archived and is not being maintained.

IProjectComponentCreator::CreateLink Method

Creates a link to the target of the specified type from the specified source artifact.

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

void CreateLink(
	ProjectCreationContext^ ctxt, 
	String^ sourceId, 
	String^ targetUri, 
	String^ type
)

Parameters

ctxt
Type: Microsoft.TeamFoundation.Client::ProjectCreationContext

The ProjectCreationContext that is associated with the current process.

sourceId
Type: System::String

The uniform resource identifier (URI) of the source artifact.

targetUri
Type: System::String

The URI of the target artifact.

type
Type: System::String

The type of the target artifact.

Show: