JAMS Developer Guide
SetValue Method (PropertyValueCollection)


MVPSI.JAMS Namespace > PropertyValueCollection Class : SetValue Method
Set the value of a property. If the property is not defined for this object, the property is added to the object. You can only add properties that match a valid PropertyDefinition.
Syntax
'Declaration
 
Public Sub SetValue( _
   ByVal propertyName As System.String, _
   ByVal value As System.Object _
) 
'Usage
 
Dim instance As PropertyValueCollection
Dim propertyName As System.String
Dim value As System.Object
 
instance.SetValue(propertyName, value)
public void SetValue( 
   System.string propertyName,
   System.object value
)

Parameters

propertyName
value
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PropertyValueCollection Class
PropertyValueCollection Members