将属性设置为项目说明:所有项目类型必须相同。
命名空间: Microsoft.TeamFoundation.Framework.Server
程序集: Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)
语法
声明
Public Sub SetProperties ( _
requestContext As TeamFoundationRequestContext, _
artifactPropertyValues As IEnumerable(Of ArtifactPropertyValue), _
changedDate As Nullable(Of DateTime), _
changedBy As Nullable(Of Guid) _
)
public void SetProperties(
TeamFoundationRequestContext requestContext,
IEnumerable<ArtifactPropertyValue> artifactPropertyValues,
Nullable<DateTime> changedDate,
Nullable<Guid> changedBy
)
参数
- requestContext
类型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
TeamFoundationRequestContext 实例
- artifactPropertyValues
类型:System.Collections.Generic.IEnumerable<ArtifactPropertyValue>
数组 ArtifactPropertyValues
- changedDate
类型:System.Nullable<DateTime>
设置属性值的时间戳。
- changedBy
类型:System.Nullable<Guid>
author
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。