SoapDocumentServiceAttribute.Use プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > SoapDocumentServiceAttribute.Use プロパティの意味・解説 

SoapDocumentServiceAttribute.Use プロパティ

XML Web サービス既定パラメータ書式取得または設定します

名前空間: System.Web.Services.Protocols
アセンブリ: System.Web.Services (system.web.services.dll 内)
構文構文

Public Property Use As SoapBindingUse
Dim instance As SoapDocumentServiceAttribute
Dim value As SoapBindingUse

value = instance.Use

instance.Use = value
public SoapBindingUse Use { get; set;
 }
public:
property SoapBindingUse Use {
    SoapBindingUse get ();
    void set (SoapBindingUse value);
}
/** @property */
public SoapBindingUse get_Use ()

/** @property */
public void set_Use (SoapBindingUse value)
public function get Use
 () : SoapBindingUse

public function set Use
 (value : SoapBindingUse)

プロパティ
XML Web サービス既定の SoapBindingUse。この値を設定しない場合既定値Literalなります

解説解説
使用例使用例
<%@ WebService Language="VB" Class="SumService"
 %>

Imports System
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Web.Services.Description

    <SoapDocumentService(SoapBindingUse.Literal, _
                             SoapParameterStyle.Wrapped)> _
    Public Class SumService 
          Inherits System.Web.Services.WebService
    
        <WebMethod> _
        Public Function Add(a As
 Integer, b as Integer)
           return a + b
        End Function
    End Class
<%@ WebService Language="c#" Class="SumService" %>

using System;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Web.Services.Description;

    [SoapDocumentService(SoapBindingUse.Literal,
                         SoapParameterStyle.Wrapped)]
    public class SumService : System.Web.Services.WebService
    {
        [WebMethod]
        public int Add(int
 a, int b)
        {
            return a + b;
        }
    }
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
SoapDocumentServiceAttribute クラス
SoapDocumentServiceAttribute メンバ
System.Web.Services.Protocols 名前空間
SoapBindingUse 列挙
その他の技術情報
SOAP メッセージ形式カスタマイズ


このページでは「.NET Framework クラス ライブラリ リファレンス」からSoapDocumentServiceAttribute.Use プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からSoapDocumentServiceAttribute.Use プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からSoapDocumentServiceAttribute.Use プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「SoapDocumentServiceAttribute.Use プロパティ」の関連用語

SoapDocumentServiceAttribute.Use プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



SoapDocumentServiceAttribute.Use プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS