VersionControlServer.GetVersionedItemProperty Method (ItemSpec, VersionSpec, DeletedState, ItemType, String)
Gets a property value for the specified item.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
‘선언
Public Function GetVersionedItemProperty ( _
itemSpec As ItemSpec, _
versionSpec As VersionSpec, _
deletedState As DeletedState, _
itemType As ItemType, _
propertyNameFilter As String _
) As ArtifactPropertyValue()
public ArtifactPropertyValue[] GetVersionedItemProperty(
ItemSpec itemSpec,
VersionSpec versionSpec,
DeletedState deletedState,
ItemType itemType,
string propertyNameFilter
)
public:
array<ArtifactPropertyValue^>^ GetVersionedItemProperty(
ItemSpec^ itemSpec,
VersionSpec^ versionSpec,
DeletedState deletedState,
ItemType itemType,
String^ propertyNameFilter
)
member GetVersionedItemProperty :
itemSpec:ItemSpec *
versionSpec:VersionSpec *
deletedState:DeletedState *
itemType:ItemType *
propertyNameFilter:string -> ArtifactPropertyValue[]
public function GetVersionedItemProperty(
itemSpec : ItemSpec,
versionSpec : VersionSpec,
deletedState : DeletedState,
itemType : ItemType,
propertyNameFilter : String
) : ArtifactPropertyValue[]
Parameters
- itemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec
The ItemSpec 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.
- propertyNameFilter
Type: System.String
The property name to query.
Return Value
Type: array<Microsoft.TeamFoundation.Framework.Client.ArtifactPropertyValue[]
An array of ArtifactPropertyValue objects matched by the filters which have the requested property set on it.
.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.