Compartilhar via


PropertyValue Class

Represents a property and its value.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.PropertyValue

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

Syntax

'Declaração
Public NotInheritable Class PropertyValue
public sealed class PropertyValue
public ref class PropertyValue sealed
[<Sealed>]
type PropertyValue =  class end
public final class PropertyValue

The PropertyValue type exposes the following members.

Constructors

  Name Description
Public method PropertyValue(String, array<Byte[]) Initializes a new instance of the PropertyValue class by using the specified name and value.
Public method PropertyValue(String, DateTime) Initializes a new instance of the PropertyValue class by using the specified name and value.
Public method PropertyValue(String, Double) Initializes a new instance of the PropertyValue class by using the specified name and value.
Public method PropertyValue(String, Int32) Initializes a new instance of the PropertyValue class by using the specified name and value.
Public method PropertyValue(String, String) Initializes a new instance of the PropertyValue class by using the specified name and property.

Top

Properties

  Name Description
Public property PropertyName Gets or sets the name of the property.
Public property PropertyType Gets or sets the Type of the property.
Public property Value Gets or sets the object that is stored as the property value.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Gets a user-readable string that states the properties of this object. (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