共用方式為


MsiComponentIdAttribute.Id Property

The Id property returns a string containing the Windows Installer component registration ID.

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

Syntax

'宣告
Public ReadOnly Property Id As String
public string Id { get; }

Property Value

Type: System.String
Returns a string containing the Windows Installer component registration ID.

Remarks

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

.NET Framework Security

See Also

Reference

MsiComponentIdAttribute Class

Microsoft.VisualStudio.Shell Namespace