XmlFormatExtensionPrefixAttribute コンストラクタ ()
アセンブリ: System.Web.Services (system.web.services.dll 内)


Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


XmlFormatExtensionPrefixAttribute コンストラクタ

名前 | 説明 |
---|---|
XmlFormatExtensionPrefixAttribute () | XmlFormatExtensionPrefixAttribute クラスの新しいインスタンスを初期化します。 |
XmlFormatExtensionPrefixAttribute (String, String) | サービスの説明のフォーマット拡張用の XML 名前空間と XML 名前空間プリフィックスを設定し、XmlFormatExtensionPrefixAttribute クラスの新しいインスタンスを初期化します。 |

XmlFormatExtensionPrefixAttribute コンストラクタ (String, String)
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim prefix As String Dim ns As String Dim instance As New XmlFormatExtensionPrefixAttribute(prefix, ns)

' The YMLOperationBinding class is part of the YML SDFE, as it is the ' class that is serialized into XML and is placed in the service ' description. <XmlFormatExtension("action", YMLOperationBinding.YMLNamespace, _ GetType(OperationBinding)), _ XmlFormatExtensionPrefix("yml", YMLOperationBinding.YMLNamespace)> _ Public Class YMLOperationBinding Inherits ServiceDescriptionFormatExtension Private _reverse As Boolean Public Const YMLNamespace As String = "http://www.contoso.com/yml" <XmlElement("Reverse")> _ Public Property Reverse() As Boolean Get Return _reverse End Get Set(ByVal Value As Boolean) _reverse = Value End Set End Property End Class
// The YMLOperationBinding class is part of the YML SDFE, as it is the // class that is serialized into XML and is placed in the service // description. [XmlFormatExtension("action", YMLOperationBinding.YMLNamespace, typeof(OperationBinding))] [XmlFormatExtensionPrefix("yml", YMLOperationBinding.YMLNamespace)] public class YMLOperationBinding : ServiceDescriptionFormatExtension { private Boolean reverse; public const string YMLNamespace = "http://www.contoso.com/yml"; [XmlElement("Reverse")] public Boolean Reverse { get { return reverse; } set { reverse = value; } } }
// The YMLOperationBinding class is part of the YML SDFE, as it is the // class that is serialized into XML and is placed in the service // description. /** @attribute XmlFormatExtension("action", YMLOperationBinding.YMLNamespace, OperationBinding.class) */ /** @attribute XmlFormatExtensionPrefix("yml", YMLOperationBinding.YMLNamespace) */ public class YMLOperationBinding extends ServiceDescriptionFormatExtension { private Boolean reverse; public final static String YMLNamespace = "http://www.contoso.com/yml"; /** @attribute XmlElement("Reverse") */ /** @property */ public Boolean get_Reverse() { return reverse; } //get_Reverse /** @property */ public void set_Reverse(Boolean value) { reverse = value; } //set_Reverse } //YMLOperationBinding

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- XmlFormatExtensionPrefixAttribute コンストラクタ ()のページへのリンク