This documentation is archived and is not being maintained.

InputBinding.Extensions Property

Gets the collection of extensibility elements associated with the current InputBinding.

[Visual Basic]
Overrides Public ReadOnly Property Extensions As _
   ServiceDescriptionFormatExtensionCollection
[C#]
public override ServiceDescriptionFormatExtensionCollection
   Extensions {get;}
[C++]
public: __property ServiceDescriptionFormatExtensionCollection*
   get_Extensions();
[JScript]
public override function get Extensions() :
   ServiceDescriptionFormatExtensionCollection;

Property Value

A ServiceDescriptionFormatExtensionCollection.

Example

[Visual Basic] 
' Create InputBinding for operation.
Dim myInputBinding As New InputBinding()
Dim mySoapBodyBinding As New SoapBodyBinding()
mySoapBodyBinding.Use = SoapBindingUse.Literal
myInputBinding.Extensions.Add(mySoapBodyBinding)

[C#] 
// Create InputBinding for operation.
InputBinding myInputBinding = new InputBinding();
SoapBodyBinding mySoapBodyBinding = new SoapBodyBinding();
mySoapBodyBinding.Use = SoapBindingUse.Literal;
myInputBinding.Extensions.Add(mySoapBodyBinding);

[C++] 
// Create InputBinding for operation.
InputBinding* myInputBinding = new InputBinding();
SoapBodyBinding* mySoapBodyBinding = new SoapBodyBinding();
mySoapBodyBinding->Use = SoapBindingUse::Literal;
myInputBinding->Extensions->Add(mySoapBodyBinding);

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

InputBinding Class | InputBinding Members | System.Web.Services.Description Namespace

Show: