共用方式為


SelectionPair Structure

This API is not CLS-compliant. 

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

Syntax

'宣告
<CLSCompliantAttribute(False)> _
Public Structure SelectionPair
[CLSCompliantAttribute(false)]
public struct SelectionPair
[CLSCompliantAttribute(false)]
public value class SelectionPair
[<Sealed>]
[<CLSCompliantAttribute(false)>]
type SelectionPair =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The SelectionPair type exposes the following members.

Constructors

  Name Description
Public method SelectionPair

Top

Properties

  Name Description
Public property ItemId
Public property UIHierarchy

Top

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
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 Returns the hash code for this instance. (Inherited from ValueType.)
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 Returns the fully qualified type name of this instance. (Inherited from ValueType.)

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