CodeGenerator.IsCurrentDelegate 属性

定义

获取一个值,该值指示正在生成的当前对象是否为委托。Gets a value indicating whether the current object being generated is a delegate.

protected:
 property bool IsCurrentDelegate { bool get(); };
protected bool IsCurrentDelegate { get; }
member this.IsCurrentDelegate : bool
Protected ReadOnly Property IsCurrentDelegate As Boolean

属性值

Boolean

如果当前对象是委托,则为 true;否则为 falsetrue if the current object is a delegate; otherwise, false.

适用于