Udostępnij za pośrednictwem


MsiComponentIdAttribute(String) Constructor

Definition

Creates a new MsiComponentIdAttribute.

public:
 MsiComponentIdAttribute(System::String ^ id);
public:
 MsiComponentIdAttribute(Platform::String ^ id);
 MsiComponentIdAttribute(std::wstring const & id);
public MsiComponentIdAttribute (string id);
new Microsoft.VisualStudio.Shell.MsiComponentIdAttribute : string -> Microsoft.VisualStudio.Shell.MsiComponentIdAttribute
Public Sub New (id As String)

Parameters

id
String

The Windows Installer component ID. The MSI component registration ID is used to indicate the installation path to the component within the Windows Installer.

Remarks

The Visual C# language automatically appends the word "Attribute" to the name of any attribute class. In Visual C# code, refer to this attribute as MsiComponentId.

Applies to