다음을 통해 공유


AssignLinkMetadata.Execute Method

Sets Link metadata on any item where the project file in which they were defined is different from the parent project file to a sane default: the relative directory compared to the defining file. Does not overwrite Link metadata if it's already defined.

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

Syntax

'Declaration
Public Overrides Function Execute As Boolean
public override bool Execute()
public:
virtual bool Execute() override
abstract Execute : unit -> bool  
override Execute : unit -> bool
public override function Execute() : boolean

Return Value

Type: System.Boolean
Returns true if no errors were logged, otherwise false.

Implements

ITask.Execute()

.NET Framework Security

See Also

Reference

AssignLinkMetadata Class

Microsoft.Build.Tasks Namespace