ServiceDescriptionFormatExtensionCollection.Add メソッド
アセンブリ: System.Web.Services (system.web.services.dll 内)

Dim instance As ServiceDescriptionFormatExtensionCollection Dim extension As Object Dim returnValue As Integer returnValue = instance.Add(extension)
- extension
ServiceDescriptionFormatExtensionCollection に追加する、参照渡しされた ServiceDescriptionFormatExtension。
追加された extension パラメータの 0 から始まるインデックス。

Dim mySoapBinding1 As New SoapBinding() Dim mySoapBinding2 As New SoapBinding() Dim mySoapAddressBinding As New SoapAddressBinding() Dim myFormatExtensionObject As New MyFormatExtension() ' Add elements to collection. myCollection.Add(mySoapBinding1) myCollection.Add(mySoapAddressBinding) myCollection.Add(mySoapBinding2) myCollection.Add(myFormatExtensionObject)
SoapBinding mySoapBinding1 = new SoapBinding(); SoapBinding mySoapBinding2 = new SoapBinding(); SoapAddressBinding mySoapAddressBinding = new SoapAddressBinding(); MyFormatExtension myFormatExtensionObject = new MyFormatExtension(); // Add elements to collection. myCollection.Add(mySoapBinding1); myCollection.Add(mySoapAddressBinding); myCollection.Add(mySoapBinding2); myCollection.Add(myFormatExtensionObject);
SoapBinding^ mySoapBinding1 = gcnew SoapBinding; SoapBinding^ mySoapBinding2 = gcnew SoapBinding; SoapAddressBinding^ mySoapAddressBinding = gcnew SoapAddressBinding; MyFormatExtension^ myFormatExtensionObject = gcnew MyFormatExtension; // Add elements to collection. myCollection->Add( mySoapBinding1 ); myCollection->Add( mySoapAddressBinding ); myCollection->Add( mySoapBinding2 ); myCollection->Add( myFormatExtensionObject );
SoapBinding mySoapBinding1 = new SoapBinding(); SoapBinding mySoapBinding2 = new SoapBinding(); SoapAddressBinding mySoapAddressBinding = new SoapAddressBinding(); MyFormatExtension myFormatExtensionObject = new MyFormatExtension(); // Add elements to collection. myCollection.Add(mySoapBinding1); myCollection.Add(mySoapAddressBinding); myCollection.Add(mySoapBinding2); myCollection.Add(myFormatExtensionObject);

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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- ServiceDescriptionFormatExtensionCollection.Add メソッドのページへのリンク