共用方式為


VsDebugTargetInfo.bstrPortName Field

BSTR containing the name of port from the supplier specified in clsidPortSupplier (can be nulla null reference (Nothing in Visual Basic)).

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
Public bstrPortName As String
'用途
Dim instance As VsDebugTargetInfo
Dim value As String

value = instance.bstrPortName

instance.bstrPortName = value
public string bstrPortName
public:
String^ bstrPortName
val mutable bstrPortName: string
public var bstrPortName : String

Remarks

COM Signature

From vsshell.idl:

.NET Framework Security

See Also

Reference

VsDebugTargetInfo Structure

VsDebugTargetInfo Members

Microsoft.VisualStudio.Shell.Interop Namespace