Udostępnij za pośrednictwem


IVsTextLineMarkerEx.SetClientData Method

Definition

Overloads

SetClientData(IntPtr)
SetClientData(UInt32)

Sets the client data.

SetClientData(IntPtr)

public:
 int SetClientData(IntPtr dwData);
public int SetClientData (IntPtr dwData);
abstract member SetClientData : nativeint -> int
Public Function SetClientData (dwData As IntPtr) As Integer

Parameters

dwData
IntPtr

nativeint

Returns

Applies to

SetClientData(UInt32)

Sets the client data.

public:
 int SetClientData(System::UInt32 dwData);
public:
 int SetClientData(unsigned int dwData);
int SetClientData(unsigned int dwData);
public int SetClientData (uint dwData);
abstract member SetClientData : uint32 -> int
Public Function SetClientData (dwData As UInteger) As Integer

Parameters

dwData
UInt32

[in] Changes the dwClient DWORD associated with the marker.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsTextLineMarkerEx::SetClientData(  
   [in] DWORD_PTR dwData  
);  

Applies to