Поделиться через


IdentityFavorites Class

A view around TeamFoundationIdentity or TeamFoundationTeam

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.IdentityPropertiesView
    Microsoft.TeamFoundation.Framework.Server.IdentityFavorites

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

Syntax

'Declaration
Public Class IdentityFavorites _
    Inherits IdentityPropertiesView
public class IdentityFavorites : IdentityPropertiesView
public ref class IdentityFavorites : public IdentityPropertiesView
type IdentityFavorites =  
    class 
        inherit IdentityPropertiesView 
    end
public class IdentityFavorites extends IdentityPropertiesView

The IdentityFavorites type exposes the following members.

Constructors

  Name Description
Public method IdentityFavorites

Top

Properties

  Name Description
Public property EffectiveNamespace Effective property name prefix for view property methods. Its value is: Namespace + NamespaceSuffix (Inherited from IdentityPropertiesView.)
Public property Identity (Inherited from IdentityPropertiesView.)
Protected property Namespace Property namespace for the view properties. By default the full name of view type will be the prefix for property names. (Inherited from IdentityPropertiesView.)
Public property NamespaceSuffix Extra namespace modifier for view customization (Inherited from IdentityPropertiesView.)

Top

Methods

  Name Description
Public method ClearPropertiesUnder(String) (Inherited from IdentityPropertiesView.)
Public method ClearPropertiesUnder(IdentityPropertyScope, String) (Inherited from IdentityPropertiesView.)
Public method ClearViewProperties() (Inherited from IdentityPropertiesView.)
Public method ClearViewProperties(IdentityPropertyScope) (Inherited from IdentityPropertiesView.)
Public method DeleteFavoriteItems Delete entries by given id list.
Protected method EnsureIdentityAndProperties (Inherited from IdentityPropertiesView.)
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 GetFavorites Returns list of favoriteItem objects. Application itself can create a Tree representation out of this list using Id and ParentId properties of entries
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetProperties() Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names. (Inherited from IdentityPropertiesView.)
Public method GetProperties(IdentityPropertyScope) Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names. (Inherited from IdentityPropertiesView.)
Public method GetPropertiesStartsWith(String) (Inherited from IdentityPropertiesView.)
Public method GetPropertiesStartsWith(IdentityPropertyScope, String) (Inherited from IdentityPropertiesView.)
Public method GetProperty(String) Property accessor. Will throw if not found. (Inherited from IdentityPropertiesView.)
Public method GetProperty(IdentityPropertyScope, String) Property accessor. Will throw if not found. (Inherited from IdentityPropertiesView.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetViewProperties() Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names. (Inherited from IdentityPropertiesView.)
Public method GetViewProperties(IdentityPropertyScope) Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names. (Inherited from IdentityPropertiesView.)
Public method GetViewProperty(String) Gets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method GetViewProperty(IdentityPropertyScope, String) Gets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Protected method GetViewPropertyFilters (Inherited from IdentityPropertiesView.)
Protected method Initialize(TeamFoundationRequestContext, IdentityPropertiesView, String) (Inherited from IdentityPropertiesView.)
Protected method Initialize(TeamFoundationRequestContext, Guid, String) (Inherited from IdentityPropertiesView.)
Protected method Initialize(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, String, IdentityPropertyScope) (Inherited from IdentityPropertiesView.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MergePropertyFilters (Inherited from IdentityPropertiesView.)
Public method RemoveProperty(String) Remove property, if it exists. (Inherited from IdentityPropertiesView.)
Public method RemoveProperty(IdentityPropertyScope, String) Remove property, if it exists. (Inherited from IdentityPropertiesView.)
Public method RemoveViewProperty(String) Remove view property, if it exists. (Inherited from IdentityPropertiesView.)
Public method RemoveViewProperty(IdentityPropertyScope, String) Remove view property, if it exists. (Inherited from IdentityPropertiesView.)
Public method SetProperty(String, Object) Sets a property, will overwrite if already set. (Inherited from IdentityPropertiesView.)
Public method SetProperty(IdentityPropertyScope, String, Object) Sets a property, will overwrite if already set. (Inherited from IdentityPropertiesView.)
Public method SetViewProperty(String, Object) Sets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method SetViewProperty(IdentityPropertyScope, String, Object) Sets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetProperty(String, Object%) Property accessor. Will return null if not found. (Inherited from IdentityPropertiesView.)
Public method TryGetProperty(IdentityPropertyScope, String, Object%) (Inherited from IdentityPropertiesView.)
Public method TryGetViewProperty(String, Object%) Try get a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method TryGetViewProperty(IdentityPropertyScope, String, Object%) Try get a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method Update Persist Team updates. (Inherited from IdentityPropertiesView.)
Public method UpdateFavoriteItems Updates underlying Identity properties

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