Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the Transports collection to which this Transport object belongs (if any).
Namespace: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.dll)
Syntax
'Declaration
ReadOnly Property Collection As Transports
Transports Collection { get; }
property Transports^ Collection {
Transports^ get ();
}
abstract Collection : Transports
function get Collection () : Transports
Property Value
Type: EnvDTE80.Transports
A Transports collection.
Examples
' Macro code.
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
.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.