共用方式為


MsiComponentIdAttribute Constructor

This constructor creates a new MsiComponentIdAttribute object.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Sub New ( _
    id As String _
)
public MsiComponentIdAttribute(
    string id
)

Parameters

  • id
    Type: System.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.

.NET Framework Security

See Also

Reference

MsiComponentIdAttribute Class

Microsoft.VisualStudio.Shell Namespace