WebReference2.MapType Property
Gets the type of this Web reference.
Namespace: VsWebSite90
Assembly: VsWebSite.Interop90 (in VsWebSite.Interop90.dll)
Syntax
uint MapType { get; }
property unsigned int MapType {
unsigned int get();
}
abstract MapType : uint32 with get
ReadOnly Property MapType As UInteger
Property Value
Type: System.UInt32
Returns one of the following defined values:
WebReference2_MapType_Unknown
WebReference2_MapType_Discomap
WebReference2_MapType_Svcmap
WebReference2_MapType_Max
Remarks
The purpose of the MapType property is to provide custom tools with a way to filter reference types.
The following table defines the map type enumerations.
Enumeration name |
Description |
---|---|
WebReference2_MapType_Discomap |
A Web reference in an .asmx file. When a user enters a Web reference by using the Add Web Reference dialog box in Visual Studio, this is the map type. It is the default map type. This type supports only the HTTP protocol. |
WebReference2_MapType_Svcmap |
A Web reference to a Web service. When a user enters a Web reference using the Add Service Reference dialog, this is the map type. It is supported by the Windows Communication Foundation (WCF). This type supports multiple network protocols including, but not limited to, HTTP and TCPIP. |
WebReference2_MapType_Max |
Same as WebReference2_MapType_Svcmap. |
See Also
CustomTool
WebReference2 Interface
VsWebSite90 Namespace
Return to top