IPropertyService.SetProperty Method (ArtifactSpec, String, Nullable<DateTime>)
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 Nullable(Of DateTime) _
)
void SetProperty(
ArtifactSpec artifactSpec,
string propertyName,
Nullable<DateTime> value
)
void SetProperty(
ArtifactSpec^ artifactSpec,
String^ propertyName,
Nullable<DateTime> value
)
abstract SetProperty :
artifactSpec:ArtifactSpec *
propertyName:string *
value:Nullable<DateTime> -> unit
function SetProperty(
artifactSpec : ArtifactSpec,
propertyName : String,
value : Nullable<DateTime>
)
Parameters
artifactSpec
Type: Microsoft.TeamFoundation.Framework.Client.ArtifactSpeca user defined friendly name
propertyName
Type: System.Stringa property name
value
Type: System.Nullable<DateTime>the value to bind to the property
.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.