共用方式為


DkmComponentManager.CurrentComponentId Property

Definition

Obtains the component ID which is running on this thread.

public:
 static property Guid CurrentComponentId { Guid get(); };
public static Guid CurrentComponentId { get; }
static member CurrentComponentId : Guid
Public Shared ReadOnly Property CurrentComponentId As Guid

Property Value

Guid for the active component. This Guid value is defined in the component's configuration file. If no component is running, the return value will be Guid.Empty.

Applies to