Megosztás a következőn keresztül:


IPropertyService.SetProperty Method (ArtifactSpec, String, array<Byte )

Sets property-value pair to non-versioned artifact

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Sub SetProperty ( _
    artifactSpec As ArtifactSpec, _
    propertyName As String, _
    value As Byte() _
)
void SetProperty(
    ArtifactSpec artifactSpec,
    string propertyName,
    byte[] value
)
void SetProperty(
    ArtifactSpec^ artifactSpec, 
    String^ propertyName, 
    array<unsigned char>^ value
)
abstract SetProperty : 
        artifactSpec:ArtifactSpec * 
        propertyName:string * 
        value:byte[] -> unit
function SetProperty(
    artifactSpec : ArtifactSpec, 
    propertyName : String, 
    value : byte[]
)

Parameters

  • value
    Type: array<System.Byte[]

    the value to bind to the property

.NET Framework Security

See Also

Reference

IPropertyService Interface

SetProperty Overload

Microsoft.TeamFoundation.Framework.Client Namespace