Freigeben über


ProjectInstance.Targets Property

Definition

Targets in the project. The build process can find one by looking for its name in the dictionary. This collection is read-only.

public:
 property System::Collections::Generic::IDictionary<System::String ^, Microsoft::Build::Execution::ProjectTargetInstance ^> ^ Targets { System::Collections::Generic::IDictionary<System::String ^, Microsoft::Build::Execution::ProjectTargetInstance ^> ^ get(); };
public System.Collections.Generic.IDictionary<string,Microsoft.Build.Execution.ProjectTargetInstance> Targets { get; }
public System.Collections.Generic.IDictionary<string,Microsoft.Build.Execution.ProjectTargetInstance> Targets { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.Targets : System.Collections.Generic.IDictionary<string, Microsoft.Build.Execution.ProjectTargetInstance>
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.Targets : System.Collections.Generic.IDictionary<string, Microsoft.Build.Execution.ProjectTargetInstance>
Public ReadOnly Property Targets As IDictionary(Of String, ProjectTargetInstance)

Property Value

An enumerator over all targets in this project.

Attributes

Applies to