Megosztás a következőn keresztül:


ArtifactPropertyValue Class

Represents a property-value pair that has a user-defined name (moniker). The moniker can be optionally versioned by using a version number.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.ArtifactPropertyValue

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

Syntax

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

The ArtifactPropertyValue type exposes the following members.

Constructors

  Name Description
Public method ArtifactPropertyValue(ArtifactSpec) Creates an empty artifact property-value for the specified artifact.
Public method ArtifactPropertyValue(ArtifactSpec, List<PropertyValue>) Creates a versioned moniker property-value.
Public method ArtifactPropertyValue(ArtifactSpec, String, array<Byte[]) Creates a nonversioned moniker property-value.
Public method ArtifactPropertyValue(ArtifactSpec, String, Nullable<DateTime>) Creates a nonversioned moniker property-value.
Public method ArtifactPropertyValue(ArtifactSpec, String, Nullable<Double>) Creates a nonversioned moniker property-value.
Public method ArtifactPropertyValue(ArtifactSpec, String, Nullable<Int32>) Creates a nonversioned moniker property-value.
Public method ArtifactPropertyValue(ArtifactSpec, String, String) Creates a nonversioned moniker property-value.

Top

Properties

  Name Description
Public property PropertyValues Gets the set of property values that belong to this artifact.
Public property Spec Gets the artifact specifier that is associated with this instance.

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 describes the properties of this instance. (Overrides Object.ToString().)

Top

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