Project.Targets Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Targets in the project. The key to the dictionary is the target's name. Overridden targets are not included in this collection. 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; }
member this.Targets : System.Collections.Generic.IDictionary<string, Microsoft.Build.Execution.ProjectTargetInstance>
Public ReadOnly Property Targets As IDictionary(Of String, ProjectTargetInstance)
Property Value
A read-only dictionary of all targets in this project, keyed by target name. Overridden targets are not included in this collection.