ArcFM Responder Mobile Developer Guide
SetAttribute Method (PersistInfo)






This method sets/creates the value for a specified attribute.
Syntax
'Declaration
 
Public Function SetAttribute( _
   ByVal attributeName As System.String, _
   ByVal attributeValue As System.Object _
) As System.Boolean
'Usage
 
Dim instance As PersistInfo
Dim attributeName As System.String
Dim attributeValue As System.Object
Dim value As System.Boolean
 
value = instance.SetAttribute(attributeName, attributeValue)
public System.bool SetAttribute( 
   System.string attributeName,
   System.object attributeValue
)
public function SetAttribute( 
    attributeName: System.String;
    attributeValue: System.TObject
): System.Boolean; 
public function SetAttribute( 
   attributeName : System.String,
   attributeValue : System.Object
) : System.boolean;
public: System.bool SetAttribute( 
   System.string* attributeName,
   System.Object* attributeValue
) 
public:
System.bool SetAttribute( 
   System.String^ attributeName,
   System.Object^ attributeValue
) 

Parameters

attributeName
attributeValue
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

PersistInfo Class
PersistInfo Members

Send Feedback