UsingTask 类

定义

表示 MSBuild 项目中的单个 UsingTask 元素。Represents a single UsingTask element in an MSBuild project.

public ref class UsingTask
public class UsingTask
type UsingTask = class
Public Class UsingTask
继承
UsingTask

属性

AssemblyFile

获取 UsingTask 元素的 AssemblyFile 特性值。Gets the AssemblyFile attribute value of the UsingTask element.

AssemblyName

获取 UsingTask 元素的 AssemblyName 特性值。Gets the AssemblyName attribute value of the UsingTask element.

Condition

获取 UsingTask 元素的 Condition 特性值。Gets the Condition attribute value of the UsingTask element.

IsImported

获取一个值,该值指示 UsingTask 元素是否已导入到项目中。Gets a value indicating whether the UsingTask element was imported into the project.

TaskName

获取 UsingTask 元素的 TaskName 特性值。Gets the TaskName attribute value of the UsingTask element.

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于