IVsHiddenRegion.SetClientData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetClientData(IntPtr) | |
SetClientData(UInt32) |
Sets the client data for the hidden region. |
SetClientData(IntPtr)
SetClientData(UInt32)
Sets the client data for the hidden region.
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] Double word containing the data.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsHiddenRegion::SetClientData(
[in] DWORD_PTR dwData
);
As the client, you define what information this method retrieves. This method, in conjunction with GetClientData, allows you to store four bytes of data on every hidden region and retrieve it as required. The editor does not use this information.