共用方式為


MsiComponentIdAttribute.Id Property

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

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

Syntax

'Declaration
Public ReadOnly Property Id As String
public string Id { get; }
public:
property String^ Id {
    String^ get ();
}
member Id : string with get
function get Id () : String

Property Value

Type: 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