VersionControlServer.GetVersionedItemProperty Method (array<ItemSpec[], VersionSpec, DeletedState, ItemType, array<String )
Gets a set of property values for the specified items.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'宣言
Public Function GetVersionedItemProperty ( _
itemSpecs As ItemSpec(), _
versionSpec As VersionSpec, _
deletedState As DeletedState, _
itemType As ItemType, _
propertyNameFilters As String() _
) As ArtifactPropertyValue()
public ArtifactPropertyValue[] GetVersionedItemProperty(
ItemSpec[] itemSpecs,
VersionSpec versionSpec,
DeletedState deletedState,
ItemType itemType,
string[] propertyNameFilters
)
public:
array<ArtifactPropertyValue^>^ GetVersionedItemProperty(
array<ItemSpec^>^ itemSpecs,
VersionSpec^ versionSpec,
DeletedState deletedState,
ItemType itemType,
array<String^>^ propertyNameFilters
)
member GetVersionedItemProperty :
itemSpecs:ItemSpec[] *
versionSpec:VersionSpec *
deletedState:DeletedState *
itemType:ItemType *
propertyNameFilters:string[] -> ArtifactPropertyValue[]
public function GetVersionedItemProperty(
itemSpecs : ItemSpec[],
versionSpec : VersionSpec,
deletedState : DeletedState,
itemType : ItemType,
propertyNameFilters : String[]
) : ArtifactPropertyValue[]
Parameters
- itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]
Array of ItemSpec objects for which the property value is desired.
- versionSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The VersionSpec of the item.
- deletedState
Type: Microsoft.TeamFoundation.VersionControl.Client.DeletedState
A flag describing whether to return deleted items and/or non-deleted items.
- itemType
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemType
A flag describing whether to return files and/or folders.
- propertyNameFilters
Type: array<System.String[]
An array of properties filters to query.
Return Value
Type: array<Microsoft.TeamFoundation.Framework.Client.ArtifactPropertyValue[]
An array of ArtifactPropertyValue object matched by the filters which have at least one of the specified properties set.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.