共用方式為


RepositoryExtensions.GetVersionedItemProperty 方法

會取得已建立版本的項目相關聯的屬性。

命名空間:  Microsoft.TeamFoundation.VersionControl.Server
組件:  Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

語法

'宣告
<WebMethodAttribute> _
Public Function GetVersionedItemProperty ( _
    workspaceName As String, _
    workspaceOwner As String, _
    itemSpecs As ItemSpec(), _
    versionSpec As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    propertyNameFilters As String() _
) As StreamingCollection(Of ArtifactPropertyValue)
[WebMethodAttribute]
public StreamingCollection<ArtifactPropertyValue> GetVersionedItemProperty(
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] itemSpecs,
    VersionSpec versionSpec,
    DeletedState deletedState,
    ItemType itemType,
    string[] propertyNameFilters
)

參數

傳回值

型別:Microsoft.TeamFoundation.Framework.Server.StreamingCollection<ArtifactPropertyValue>

.NET Framework 安全性

請參閱

參考

RepositoryExtensions 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間