Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the index of the specified attachment.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public Function IndexOf ( _
attachment As Attachment _
) As Integer
public int IndexOf(
Attachment attachment
)
public:
int IndexOf(
Attachment^ attachment
)
member IndexOf :
attachment:Attachment -> int
public function IndexOf(
attachment : Attachment
) : int
Parameters
attachment
Type: Microsoft.TeamFoundation.WorkItemTracking.Client.AttachmentThe attachment for which the index is desired.
Return Value
Type: System.Int32
The index of the specified attachment. Returns -1 if the attachment is not located in this collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.