VersionControlServer.SetVersionedItemProperty Method (ItemSpec, VersionSpec, DeletedState, ItemType, String, array<Byte )
Sets a property on a versioned item.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
‘선언
Public Sub SetVersionedItemProperty ( _
itemSpec As ItemSpec, _
versionSpec As VersionSpec, _
deletedState As DeletedState, _
itemType As ItemType, _
propertyName As String, _
value As Byte() _
)
public void SetVersionedItemProperty(
ItemSpec itemSpec,
VersionSpec versionSpec,
DeletedState deletedState,
ItemType itemType,
string propertyName,
byte[] value
)
public:
void SetVersionedItemProperty(
ItemSpec^ itemSpec,
VersionSpec^ versionSpec,
DeletedState deletedState,
ItemType itemType,
String^ propertyName,
array<unsigned char>^ value
)
member SetVersionedItemProperty :
itemSpec:ItemSpec *
versionSpec:VersionSpec *
deletedState:DeletedState *
itemType:ItemType *
propertyName:string *
value:byte[] -> unit
public function SetVersionedItemProperty(
itemSpec : ItemSpec,
versionSpec : VersionSpec,
deletedState : DeletedState,
itemType : ItemType,
propertyName : String,
value : byte[]
)
Parameters
- itemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec
The ItemSpec of the item.
- versionSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The VersionSpec of the item.
- deletedState
Type: Microsoft.TeamFoundation.VersionControl.Client.DeletedState
A flag describing whether to set the property on deleted items and/or non-deleted items.
- itemType
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemType
A flag describing whether to set the property on files and/or folders.
- propertyName
Type: System.String
The property to set.
- value
Type: array<System.Byte[]
The property value to 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.