共用方式為


IVsAddWebReferenceResult.GetReferenceType 方法

傳回ServiceReferenceType中的服務參考的加入服務參考對話方塊。

命名空間:  Microsoft.VisualStudio.WCFReference.Interop
組件:  Microsoft.VisualStudio.WCFReference.Interop (在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)

語法

'宣告
Function GetReferenceType As ServiceReferenceType
ServiceReferenceType GetReferenceType()
ServiceReferenceType GetReferenceType()
abstract GetReferenceType : unit -> ServiceReferenceType
function GetReferenceType() : ServiceReferenceType

傳回值

類型:Microsoft.VisualStudio.WCFReference.Interop.ServiceReferenceType
A ServiceReferenceType表示該服務參考的型別。

備註

服務所傳回的參考加入服務參考 ] 對話方塊中可以為參考至 Windows 通訊資格) 或使用 ASP 的 Web 服務 (ASMX) 的參考。NET 中。

.NET Framework 安全性

請參閱

參考

IVsAddWebReferenceResult 介面

Microsoft.VisualStudio.WCFReference.Interop 命名空間