Transports Transports Transports Transports Interface

Definition

A collection of Transport objects.

public interface class Transports : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("EA47C3D9-FD41-4402-BDC6-7F07D0C8E3FC")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface Transports : System.Collections.IEnumerable
type Transports = interface
    interface IEnumerable
Public Interface Transports
Implements IEnumerable
Attributes
Implements

Examples

Imports EnvDTE  
Imports EnvDTE80  
Imports System.Diagnostics  
Imports Microsoft.VisualBasic.ControlChars  
  
Public Module Module1  
  
    Sub ShowTransports()  
        Dim dbg As EnvDTE80.Debugger2  
        dbg = DTE.Debugger  
        Dim strTransportList As String  
        Dim transport As EnvDTE80.Transport  
  
        For Each transport In dbg.Transports  
            strTransportList = strTransportList + transport.Name & ", _  
            " & transport.ID & VbCr  
        Next  
        MsgBox(strTransportList)  
    End Sub  
End Module  

Properties

Count Count Count Count

Gets a value indicating the number of objects in the Transports collection.

DTE DTE DTE DTE

Gets the top-level extensibility object.

Parent Parent Parent Parent

Gets the immediate parent object of a Transports collection, in this case the Debugger object.

Methods

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Gets an enumeration for items in a collection.

Item(Object) Item(Object) Item(Object) Item(Object)

Gets an indexed member of a Transports collection.

Applies to