Class CustomProjectPropertyCollection
名称: Aspose.Tasks.Properties 集合: Aspose.Tasks.dll (25.4.0)
代表一系列自定义项目属性。
public sealed class CustomProjectPropertyCollection : PropertyKeyedCollection<customprojectproperty>, ICollection<customprojectproperty>, IEnumerable<customprojectproperty>, IEnumerable
Inheritance
object
←
PropertyCollection
Implements
ICollection
继承人
PropertyKeyedCollection
Constructors
CustomProjectPropertyCollection()
启动 Aspose.Tasks.Properties.CustomProjectPropertyCollection 类的新例子。
public CustomProjectPropertyCollection()
Properties
IsReadOnly
得到一个值,表明这个收藏是否仅是阅读;否则,假。
public override bool IsReadOnly { get; }
财产价值
Methods
Add(字符串, string)
创建一个新的定制财产。
public CustomProjectProperty Add(string name, string value)
Parameters
name
string
财产的名称。
value
string
新创建的财产对象价值。
Returns
新创建的财产。
Add(布尔,布尔)
创建一个新的定制财产。
public CustomProjectProperty Add(string name, bool value)
Parameters
name
string
财产的名称。
value
bool
新创建的财产对象价值。
Returns
新创建的财产。
Add(双重,双重)
创建一个新的定制财产。
public CustomProjectProperty Add(string name, double value)
Parameters
name
string
财产的名称。
value
double
新创建的财产对象价值。
Returns
新创建的财产。
Add(字符串,日期)
创建一个新的定制财产。
public CustomProjectProperty Add(string name, DateTime value)
Parameters
name
string
财产的名称。
value
DateTime
新创建的财产对象价值。
Returns
新创建的财产。
Clear()
清理财产收藏。
public void Clear()
Remove(线条)
从收藏中删除指定名称的财产。
public bool Remove(string name)
Parameters
name
string
财产的无情名称。
Returns
是的,如果元素成功找到和删除;否则,假。