Bewerken

BindingCollection Class

Definition

Represents a collection of instances of the Binding class supported by the XML Web service. This class cannot be inherited.

public ref class BindingCollection sealed : System::Web::Services::Description::ServiceDescriptionBaseCollection
public sealed class BindingCollection : System.Web.Services.Description.ServiceDescriptionBaseCollection
type BindingCollection = class
    inherit ServiceDescriptionBaseCollection
Public NotInheritable Class BindingCollection
Inherits ServiceDescriptionBaseCollection
Inheritance

Remarks

The Binding class corresponds to the Web Services Description Language (WSDL) <binding> element enclosed by the root <definitions> element. For more information about WSDL, see the WSDL specification.

Properties

Name Description
Item[Int32]

Gets or sets the value of a Binding at the specified zero-based index.

Item[String]

Gets a Binding specified by its name.

Table

Gets an interface that implements the association of the keys and values in the ServiceDescriptionBaseCollection.

(Inherited from ServiceDescriptionBaseCollection)

Methods

Name Description
Add(Binding)

Adds the specified Binding to the end of the BindingCollection.

Contains(Binding)

Returns a value indicating whether the specified Binding is a member of the BindingCollection.

CopyTo(Binding[], Int32)

Copies the entire BindingCollection to a compatible one-dimensional array of type Binding, starting at the specified zero-based index of the target array.

GetKey(Object)

Returns the name of the key associated with the value passed by reference.

(Inherited from ServiceDescriptionBaseCollection)
IndexOf(Binding)

Searches for the specified Binding and returns the zero-based index of the first occurrence within the collection.

Insert(Int32, Binding)

Adds the specified Binding to the BindingCollection at the specified zero-based index.

OnClear()

Clears the contents of the ServiceDescriptionBaseCollection instance.

(Inherited from ServiceDescriptionBaseCollection)
OnInsertComplete(Int32, Object)

Performs additional custom processes after inserting a new element into the ServiceDescriptionBaseCollection.

(Inherited from ServiceDescriptionBaseCollection)
OnRemove(Int32, Object)

Removes an element from the ServiceDescriptionBaseCollection.

(Inherited from ServiceDescriptionBaseCollection)
OnSet(Int32, Object, Object)

Replaces one value with another within the ServiceDescriptionBaseCollection.

(Inherited from ServiceDescriptionBaseCollection)
Remove(Binding)

Removes the first occurrence of the specified Binding from the BindingCollection.

SetParent(Object, Object)

Sets the parent object of the ServiceDescriptionBaseCollection instance.

(Inherited from ServiceDescriptionBaseCollection)

Applies to