Share via


ProductManager.GetLanguage(String) Method

Definition

Returns the specified language.

public:
 Microsoft::Web::PlatformInstaller::Language ^ GetLanguage(System::String ^ languageId);
public Microsoft.Web.PlatformInstaller.Language GetLanguage (string languageId);
member this.GetLanguage : string -> Microsoft.Web.PlatformInstaller.Language
Public Function GetLanguage (languageId As String) As Language

Parameters

languageId
String

The unique identifier of the language to return.

Returns

A Language object that represents the requested language.

Remarks

A Language object provides access to the collection of Product objects available for the specified language.

If the requested language is not found, this method returns null (Nothing in Visual Basic).

Note

No exceptions are explicitly thrown by this method.

Applies to

See also