共用方式為


VersionControlServer.SetVersionedItemAttribute Method (ItemSpec, VersionSpec, DeletedState, ItemType, String, array<Byte )

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 Byte() _
)
public void SetVersionedItemAttribute(
    ItemSpec itemSpec,
    VersionSpec versionSpec,
    DeletedState deletedState,
    ItemType itemType,
    string propertyName,
    byte[] value
)
public:
void SetVersionedItemAttribute(
    ItemSpec^ itemSpec, 
    VersionSpec^ versionSpec, 
    DeletedState deletedState, 
    ItemType itemType, 
    String^ propertyName, 
    array<unsigned char>^ value
)
member SetVersionedItemAttribute : 
        itemSpec:ItemSpec * 
        versionSpec:VersionSpec * 
        deletedState:DeletedState * 
        itemType:ItemType * 
        propertyName:string * 
        value:byte[] -> unit
public function SetVersionedItemAttribute(
    itemSpec : ItemSpec, 
    versionSpec : VersionSpec, 
    deletedState : DeletedState, 
    itemType : ItemType, 
    propertyName : String, 
    value : byte[]
)

Parameters

  • value
    Type: array<System.Byte[]

    The property values to set.

.NET Framework Security

See Also

Reference

VersionControlServer Class

SetVersionedItemAttribute Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace