LanguageCollection.ItemById Method
Extracts a member from the LanguageCollection collection by using a system-defined, unique identifier.
Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function ItemById ( _
    id As Integer _
) As Language
'Usage
Dim instance As LanguageCollection
Dim id As Integer
Dim returnValue As Language
returnValue = instance.ItemById(id)
public Language ItemById(
    int id
)
public:
Language^ ItemById(
    int id
)
member ItemById : 
        id:int -> Language 
public function ItemById(
    id : int
) : Language
Parameters
- id
 Type: System.Int32
 An Int32 value that uniquely identifies the Language object that is a member of the LanguageCollection collection.
Return Value
Type: Microsoft.SqlServer.Management.Smo.Language
A Language object that has the specified ID value.