Share via


ProductManager.GetKeyword(String) Method

Definition

Returns the value of the specified keyword.

public:
 Microsoft::Web::PlatformInstaller::Keyword ^ GetKeyword(System::String ^ keywordId);
public Microsoft.Web.PlatformInstaller.Keyword GetKeyword (string keywordId);
member this.GetKeyword : string -> Microsoft.Web.PlatformInstaller.Keyword
Public Function GetKeyword (keywordId As String) As Keyword

Parameters

keywordId
String

The unique keyword ID to return.

Returns

A Keyword object that represents the requested keyword.

Remarks

A Keyword object provides access to the collection of Product objects associated with the keyword as well as a return reference to the ProductManager associated with the keyword.

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

Note

No exceptions are explicitly thrown by this method.

Applies to

See also