Partager via


MsiComponentIdAttribute.Id Property

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

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Public ReadOnly Property Id As String
    Get
'Utilisation
Dim instance As MsiComponentIdAttribute
Dim value As String

value = instance.Id
public string Id { get; }
public:
property String^ Id {
    String^ get ();
}
member Id : string
function get Id () : String

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

MsiComponentIdAttribute Members

Microsoft.VisualStudio.Shell Namespace