SetHandle Method (IXRecord)

SetHandle Method (IXRecord) | Send Feedback
See Also

Index
  Index of XRecord data element to set to a handle (see Remarks)

Handle
  String, which is the data type of a handle

Sets the specified XRecord data element to 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 XRecord data element to set to a handle (see Remarks)
Handle
  String, which is the data type of a handle

# Remarks

Before calling this method, call IXRecord::GetDataCount to determine a valid value for Index.

# See Also

####

IXRecord Interface
IXRecord Members
IXRecord::GetHandleData Method ()
IXRecord::InsertHandle Method ()
IXRecord::Handle Property ()
IXRecord::GetCustomData Method ()
IXRecord::DeleteCustomData Method ()
IXRecord::SetCustomData Method ()

# Availability

DraftSight V1R4.0