ContractDescription.GetInheritedContracts Method ()

 

Returns a collection of contract descriptions that are inherited by the current contract description.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Public Function GetInheritedContracts As Collection(Of ContractDescription)

Return Value

Type: System.Collections.ObjectModel.Collection(Of ContractDescription)

The Collection(Of T) of type ContractDescription that is inherited by the current contract description.

Dim inheretedContracts As Collection(Of ContractDescription) = cd.GetInheritedContracts()
Console.WriteLine(Constants.vbTab & "Inherited Contracts:")
For Each contractdescription As ContractDescription In inheretedContracts
	Console.WriteLine(Constants.vbTab + Constants.vbTab + contractdescription.Name)
Next contractdescription

.NET Framework
Available since 3.0
Return to top
Show: