NameCollection.Add Method (String, String)
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 language 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 languageCode As String Dim returnValue As Integer returnValue = instance.Add(name, languageCode) |
Syntax
'Declaration
PublicFunctionAdd ( _
nameAsString, _
languageCodeAsString _
) AsInteger
publicintAdd (
stringname,
stringlanguageCode
)
public:
intAdd (
String^ name,
String^ languageCode
)
publicintAdd (
Stringname,
StringlanguageCode
)
publicfunctionAdd (
name : String,
languageCode : String
) : int
Parameters
- name
The identifier for the new Name object that is added to the collection.
- languageCode
The language 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