NameCollection.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 new Name object that has the specified identifier and culture tag to the collection.

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

Usage

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

Syntax

'Declaration
PublicFunctionAdd ( _
    nameAsString, _
    cultureInfoAsCultureInfo _
) AsInteger
publicintAdd (
    stringname,
    CultureInfocultureInfo
)
public:
intAdd (
    String^ name, 
    CultureInfo^ cultureInfo
)
publicintAdd (
    Stringname, 
    CultureInfocultureInfo
)
publicfunctionAdd (
    name : String, 
    cultureInfo : CultureInfo
) : int

Parameters

  • name
    The identifier for the new Name object that is added to the collection.
  • cultureInfo
    The culture tag for the new Name object that is added to the collection.

Return Value

The location of the new Name object 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

NameCollection Class
NameCollection Members
Microsoft.Uddi Namespace