次の方法で共有


BuildEventContext.TargetId Property

Definition

Id of the target the event was in when the event was fired

public:
 property int TargetId { int get(); };
public int TargetId { get; }
public int TargetId { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.TargetId : int
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.TargetId : int
Public ReadOnly Property TargetId As Integer

Property Value

An integer value representing the target ID.

Attributes

Applies to