The SetPropertyValue(  ) method enables you to assign a value to a property even if you do not know the property's name or type at compile time. 
 
      
      
      
      
      
      
        
          
        
        
          
            class-object-reference:SetPropertyValue (  
              INPUT object-reference AS Progress.Lang.Object , 
              INPUT property-name AS CHARACTER, INPUT new-value AS any-data-type ) 
           | 
        
      
      
      
      
        
          
        
        
          
            class-object-reference:SetPropertyValue (  
              INPUT property-name AS CHARACTER, INPUT new-value AS any-data-type ) 
           | 
        
      
      
      
      
        
          
        
        
          
            class-object-reference:SetPropertyValue (  
              INPUT object-reference AS Progress.Lang.Object,  
              INPUT property-name AS CHARACTER, INPUT index AS any-data-type,  
              INPUT new-value AS any-data-type ) 
           | 
        
      
      
      
      
        
          
        
        
          
            class-object-reference:SetPropertyValue (  
              INPUT property-name AS CHARACTER, INPUT index AS any-data-type,  
              INPUT new-value AS any-data-type ) 
           | 
        
      
      
      Specifies a reference to an instance of Progress.Lang.Class for a type that exposes the property. For instance properties, 
object-reference and 
class-object-reference must be the same type, or one must inherit from the other. Both must either define the property or inherit it. 
 
      
      Specifies a reference to an ABL or .NET class instance that exposes the specified property as an instance member. The compiler allows 
object-reference to be declared as any object type. At run time, the object type must resolve to the type that exposes the property. 
GetPropertyValue( ) and 
SetPropertyValue( ) work correctly even if the 
object-reference is not known. Alternatively, use the overloaded methods for static property. 
 
      
        
          
            | 
               
                Note:	
               
             | 
            
              The overloads of  SetPropertyValue( ) that take an object reference can be used with a static property by setting  object-reference to the Unknown value ( ?). Alternatively, use the overloads that are designed specifically for static properties.  
             | 
          
        
       
      
        
          
            | 
               
                Note:	
               
             | 
            
              A run-time error arises if object-reference does not inherit from class-object-reference, or vice-versa.  
             |