共用方式為


TeamPropertiesView Class

Base abstract class for all team view objects. Team view objects follows facade pattern. In this regard team view objects provide easy way to access complex or domain specific properties that require additional insight on how they are stored in the team property bag and how they should be presented to the outside world. The view objects can consume other view objects, such as a view object that manages Agile experience specific team properties can use another view object that manages work item tracking related properties, that is which work item type in a project represents bug work items, for the team.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Client.TeamPropertiesView

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

Syntax

'Declaration
Public MustInherit Class TeamPropertiesView
public abstract class TeamPropertiesView
public ref class TeamPropertiesView abstract
[<AbstractClass>]
type TeamPropertiesView =  class end
public abstract class TeamPropertiesView

The TeamPropertiesView type exposes the following members.

Constructors

  Name Description
Protected method TeamPropertiesView

Top

Properties

  Name Description
Public property Team The team associated with the view instance.
Protected property ViewNamespace Property namespace for the view properties. By default the full name of view type will be the prefix for property names.

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 the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetViewProperty Gets a property value with the view namespace.
Protected method Initialize Initializes the view object.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method RemoveViewProperty Remove view property, if it exists.
Public method SetViewProperty Sets a property value with the view namespace.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetViewProperty Try get a property value with the view namespace.

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.Client Namespace