次の方法で共有


IVsAddWebReferenceResult.GetReferenceType Method

Returns the ServiceReferenceType of a service reference in the Add Service Reference dialog box.

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

Syntax

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

Return Value

Type: Microsoft.VisualStudio.WCFReference.Interop.ServiceReferenceType
A ServiceReferenceType representing the type of the service reference.

Remarks

Service references returned by the Add Service Reference dialog box can be either references to Windows Communication Foundation (WCF) or references to Web services (ASMX) that use ASP.NET.

.NET Framework Security

See Also

Reference

IVsAddWebReferenceResult Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace