reference.vb

来自「我感觉还可以的VB代码」· VB 代码 · 共 58 行

VB
58
字号
'------------------------------------------------------------------------------
' <autogenerated>
'     This code was generated by a tool.
'     Runtime Version: 1.0.3705.0
'
'     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 Microsoft.VSDesigner, Version 1.0.3705.0.
'
Namespace Alethea
    
    '<remarks/>
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Web.Services.WebServiceBindingAttribute(Name:="LocalTimeSoap", [Namespace]:="http://www.alethea.net/webservices/")>  _
    Public Class LocalTime
        Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
        
        '<remarks/>
        Public Sub New()
            MyBase.New
            Me.Url = "http://www.alethea.net/webservices/LocalTime.asmx"
        End Sub
        
        '<remarks/>
        <System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://www.alethea.net/webservices/LocalTimeByZipCode", RequestNamespace:="http://www.alethea.net/webservices/", ResponseNamespace:="http://www.alethea.net/webservices/", Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)>  _
        Public Function LocalTimeByZipCode(ByVal ZipCode As String) As String
            Dim results() As Object = Me.Invoke("LocalTimeByZipCode", New Object() {ZipCode})
            Return CType(results(0),String)
        End Function
        
        '<remarks/>
        Public Function BeginLocalTimeByZipCode(ByVal ZipCode As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginInvoke("LocalTimeByZipCode", New Object() {ZipCode}, callback, asyncState)
        End Function
        
        '<remarks/>
        Public Function EndLocalTimeByZipCode(ByVal asyncResult As System.IAsyncResult) As String
            Dim results() As Object = Me.EndInvoke(asyncResult)
            Return CType(results(0),String)
        End Function
    End Class
End Namespace

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?