共用方式為


SVsAddWebReferenceDlg Interface

Passed to GetService to return a reference to IVsAddWebReferenceDlg.

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

Syntax

'宣告
<ComVisibleAttribute(False)> _
<GuidAttribute("BD71396F-39C6-4E3F-BBA2-79CE33A8B302")> _
<GuidAttribute("BD71396F-39C6-4E3F-BBA2-79CE33A8B302")> _
Public Interface SVsAddWebReferenceDlg
'用途
Dim instance As SVsAddWebReferenceDlg
[ComVisibleAttribute(false)]
[GuidAttribute("BD71396F-39C6-4E3F-BBA2-79CE33A8B302")]
[GuidAttribute("BD71396F-39C6-4E3F-BBA2-79CE33A8B302")]
public interface SVsAddWebReferenceDlg
[ComVisibleAttribute(false)]
[GuidAttribute(L"BD71396F-39C6-4E3F-BBA2-79CE33A8B302")]
[GuidAttribute(L"BD71396F-39C6-4E3F-BBA2-79CE33A8B302")]
public interface class SVsAddWebReferenceDlg
[<ComVisibleAttribute(false)>]
[<GuidAttribute("BD71396F-39C6-4E3F-BBA2-79CE33A8B302")>]
[<GuidAttribute("BD71396F-39C6-4E3F-BBA2-79CE33A8B302")>]
type SVsAddWebReferenceDlg =  interface end
public interface SVsAddWebReferenceDlg

Remarks

Before you call AddWebReferenceDlg you have to get a discovery session by querying SVsDiscoveryService for the CreateDiscoverySession method. The AddWebReference method then defines the Web Reference and IVsAddWebReferenceDlg2 is responsible for processing the Discovery Result.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace