Bagikan melalui


MsiComponentIdAttribute Constructor

This constructor creates a new MsiComponentIdAttribute object.

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

Syntax

'Declaration
Public Sub New ( _
    id As String _
)
public MsiComponentIdAttribute(
    string id
)
public:
MsiComponentIdAttribute(
    String^ id
)
new : 
        id:string -> MsiComponentIdAttribute
public function MsiComponentIdAttribute(
    id : String
)

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