Share via


TModelList Constructor

Note: The Microsoft UDDI SDK is not supported by or included in Microsoft Windows versions after Microsoft Windows Server 7. The Microsoft UDDI V3 SDK is included with Microsoft BizTalk Server. For more information about the Microsoft UDDI V3 SDK, see Microsoft BizTalk Server documentation
Initializes an instance of the TModelList class.

Namespace: Microsoft.Uddi
Assembly: microsoft.uddi (in microsoft.uddi.dll)

Usage

Visual Basic
  Dim instance As New TModelList

Syntax

'Declaration
PublicSubNew
publicTModelList ()
public:
TModelList ()
publicTModelList ()
publicfunctionTModelList ()

Example

The following example shows how to use the Visual C# programming language to use the TModelList constructor to create an object based on the TModelList class. The object is then used to receive the results of a request to the UDDI server.

static void GetCategorizationSchemesExample( UddiConnection validConnection )
{
   FindTModel getTModel = new FindTModel();
   getTModel.CategoryBag.Add( CommonCanonical.UddiOrgTypes, "categorization", "Categorization (taxonomy)" );
   TModelList list = new TModelList();
   list = getTModel.Send( validConnection );
}

The following example shows how to use the Visual Basic .NET programming language to use the TModelList constructor to create an object based on the TModelList class. The object is then used to receive the results of a request to the UDDI server.

Sub GetCategorizationSchemesExample(ByVal conn As UddiConnection)
   Dim getTModel As New FindTModel
   getTModel.CategoryBag.Add(TModels.CommonCanonical.UddiOrgTypes, "categorization", "Categorization (taxonomy)")
   Dim list As New TModelList
   list = getTModel.Send(conn)
End Sub

Remarks

The default constructor initializes any fields to their default values.

Platforms

Development Platforms

Target Platforms

Windows Server 2008, Windows Server 2003, Windows XP Professional, Windows Vista, Windows Server 2003 R2, Windows XP

See Also

Reference

TModelList Class
TModelList Members
Microsoft.Uddi Namespace

Other Resources

Finding Categorization Schemes