SetHandle Method (ICustomData) Send Feedback
See Also 
Index
Index of the custom data element
Handle
Value of the handle
Sets the specified custom data element whose data type is a handle.

Syntax

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

Parameters

Index
Index of the custom data element
Handle
Value of the handle

Remarks

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

See Also

Availability

DraftSight V1R1.2