DescriptionCollection.Add Method (String, CultureInfo)

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
Adds a Description structure with the specified description and cultural information to the collection.

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

Usage

Visual Basic
  Dim instance As DescriptionCollection
Dim description As String
Dim cultureInfo As CultureInfo
Dim returnValue As Integer
returnValue = instance.Add(description, cultureInfo)

Syntax

'Declaration
PublicFunctionAdd ( _
    descriptionAsString, _
    cultureInfoAsCultureInfo _
) AsInteger
publicintAdd (
    stringdescription,
    CultureInfocultureInfo
)
public:
intAdd (
    String^ description, 
    CultureInfo^ cultureInfo
)
publicintAdd (
    Stringdescription, 
    CultureInfocultureInfo
)
publicfunctionAdd (
    description : String, 
    cultureInfo : CultureInfo
) : int

Parameters

  • description
    The String that contains the description.
  • cultureInfo
    The CultureInfo object that specifies the language and other cultural information that is associated with the description.

Return Value

Returns the index of the description in the collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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

DescriptionCollection Class
DescriptionCollection Members
Microsoft.Uddi Namespace