Поделиться через


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)

Syntax

'Декларация
Sub CreateLink ( _
    ctxt As ProjectCreationContext, _
    sourceId As String, _
    targetUri As String, _
    type As String _
)
void CreateLink(
    ProjectCreationContext ctxt,
    string sourceId,
    string targetUri,
    string type
)
void CreateLink(
    ProjectCreationContext^ ctxt, 
    String^ sourceId, 
    String^ targetUri, 
    String^ type
)
abstract CreateLink : 
        ctxt:ProjectCreationContext * 
        sourceId:string * 
        targetUri:string * 
        type:string -> unit 
function CreateLink(
    ctxt : ProjectCreationContext, 
    sourceId : String, 
    targetUri : String, 
    type : String
)

Parameters

  • sourceId
    Type: System.String
    The uniform resource identifier (URI) of the source artifact.

.NET Framework Security

See Also

Reference

IProjectComponentCreator Interface

Microsoft.TeamFoundation.Client Namespace