📄 titlesservice.vb
字号:
'------------------------------------------------------------------------------
' <autogenerated>
' This code was generated by a tool.
' Runtime Version: 1.0.3705.288
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------
Option Strict Off
Option Explicit On
Imports System
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization
'
'This source code was auto-generated by wsdl, Version=1.0.3705.288.
'
'<remarks/>
<System.Diagnostics.DebuggerStepThroughAttribute(), _
System.ComponentModel.DesignerCategoryAttribute("code")> _
Public Class TitlesService
Inherits System.Web.Services.Protocols.HttpGetClientProtocol
'<remarks/>
Public Sub New()
MyBase.New
Me.Url = "http://localhost/webservices"
End Sub
'<remarks/>
<System.Web.Services.Protocols.HttpMethodAttribute(GetType(System.Web.Services.Protocols.TextReturnReader), GetType(System.Web.Services.Protocols.UrlParameterWriter))> _
Public Function GetTitles() As GetTitlesMatches
Return CType(Me.Invoke("GetTitles", (Me.Url + "/Titles.aspx?type=business"), New Object(-1) {}),GetTitlesMatches)
End Function
'<remarks/>
Public Function BeginGetTitles(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Return Me.BeginInvoke("GetTitles", (Me.Url + "/Titles.aspx?type=business"), New Object(-1) {}, callback, asyncState)
End Function
'<remarks/>
Public Function EndGetTitles(ByVal asyncResult As System.IAsyncResult) As GetTitlesMatches
Return CType(Me.EndInvoke(asyncResult),GetTitlesMatches)
End Function
End Class
Public Class GetTitlesMatches
<System.Web.Services.Protocols.MatchAttribute("<li>(.*?)- \$", IgnoreCase:=true, MaxRepeats:=100)> _
Public Titles() As String
<System.Web.Services.Protocols.MatchAttribute("\$([\d|\.]+)", IgnoreCase:=true, MaxRepeats:=100)> _
Public Prices() As String
End Class
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -