SetStringData Method (ICustomData) Send Feedback
See Also  Example
Index
Index of the custom data element
Value
String
Sets the specified custom data element whose data type is a string.

Syntax

Visual Basic 
Sub SetStringData( _
   ByVal Index As System.Integer, _
   ByVal Value As System.String _
) 
C# 
void SetStringData( 
   System.int Index,
   System.string Value
)
JavaScript 
SetStringData( 
   Index : Number,
   Value : String
)
COM native C++ 
HRESULT SetStringData( 
   LONG Index,
   BSTR Value
) 
C++ 
DSRESULT SetStringData( 
   long Index,
   const dsString& Value
) 

Parameters

Index
Index of the custom data element
Value
String

Example

Remarks

Call ICustomData::GetDataCount before calling this method to determine a valid value for Index.
 

See Also

Availability

DraftSight V1R1.2