Delen via


ArtifactSpec Class

Represents a Team Foundation property user-defined name (moniker) specification.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.ArtifactSpec

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

Syntax

'Declaration
Public NotInheritable Class ArtifactSpec
public sealed class ArtifactSpec
public ref class ArtifactSpec sealed
[<Sealed>]
type ArtifactSpec =  class end
public final class ArtifactSpec

The ArtifactSpec type exposes the following members.

Constructors

  Name Description
Public method ArtifactSpec(Guid, array<Byte[], Int32) Initializes a new ArtifactSpec instance.
Public method ArtifactSpec(Guid, Int32, Int32) Initializes a new ArtifactSpec instance.
Public method ArtifactSpec(Guid, String, Int32) Initializes a new ArtifactSpec instance.

Top

Properties

  Name Description
Public property Id Gets the ID of this artifact specifier.
Public property Kind Gets the GUID of this artifact specifier.
Public property Moniker Gets the moniker of this artifact specifier.
Public property Version Gets the version of this artifact specifier.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Creates a user-readable string that states the properties of this instance. (Overrides Object.ToString().)

Top

Remarks

It can be the exact identity of the moniker or a filter specification.

Filters can be any combination of valid characters and wildcard characters ('*' and '?').

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Framework.Client Namespace