Partager via


ComClass.ClsId Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets the class identifier (ClsId) for a ComClass object.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

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

Property Value

Type: System.String
A String formatted in the pattern {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}, where the value of the GUID is represented as a series of lower-case hexadecimal digits in groups of 8, 4, 4, 4, and 12 digits and separated by hyphens. An example of a return value is "{382c74c3-721d-4f34-80e5-57657b6cbc27}".

.NET Framework Security

See Also

Reference

ComClass Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace