Partager via


ArtifactSpec Constructor (Guid, String, Int32)

Initializes an artifact spec with options.

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

Syntax

'Declaration
Public Sub New ( _
    kind As Guid, _
    moniker As String, _
    version As Integer _
)
public ArtifactSpec(
    Guid kind,
    string moniker,
    int version
)
public:
ArtifactSpec(
    Guid kind, 
    String^ moniker, 
    int version
)
new : 
        kind:Guid * 
        moniker:string * 
        version:int -> ArtifactSpec
public function ArtifactSpec(
    kind : Guid, 
    moniker : String, 
    version : int
)

Parameters

  • kind
    Type: System.Guid

    The kind that the artifact belongs too.

  • moniker
    Type: System.String

    The string identifier of the artifact

.NET Framework Security

See Also

Reference

ArtifactSpec Class

ArtifactSpec Overload

Microsoft.TeamFoundation.Framework.Server Namespace