Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the attributes associated with the versioned item.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Sub SetVersionedItemAttribute ( _
itemSpec As ItemSpec, _
versionSpec As VersionSpec, _
deletedState As DeletedState, _
itemType As ItemType, _
propertyName As String, _
value As Nullable(Of Integer) _
)
public void SetVersionedItemAttribute(
ItemSpec itemSpec,
VersionSpec versionSpec,
DeletedState deletedState,
ItemType itemType,
string propertyName,
Nullable<int> value
)
public:
void SetVersionedItemAttribute(
ItemSpec^ itemSpec,
VersionSpec^ versionSpec,
DeletedState deletedState,
ItemType itemType,
String^ propertyName,
Nullable<int> value
)
member SetVersionedItemAttribute :
itemSpec:ItemSpec *
versionSpec:VersionSpec *
deletedState:DeletedState *
itemType:ItemType *
propertyName:string *
value:Nullable<int> -> unit
public function SetVersionedItemAttribute(
itemSpec : ItemSpec,
versionSpec : VersionSpec,
deletedState : DeletedState,
itemType : ItemType,
propertyName : String,
value : Nullable<int>
)
Parameters
itemSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpecThe ItemSpec of the item.
versionSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe VersionSpec of the item.
deletedState
Type: Microsoft.TeamFoundation.VersionControl.Client.DeletedStateA flag describing whether to set the property on deleted items and/or non-deleted items.
itemType
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemTypeA flag describing whether to set the property on files and/or folders.
propertyName
Type: System.StringThe property to set.
value
Type: System.Nullable<Int32>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.