Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTResource.Update

Update an existing resource.

Declaration

void CTResource::Update(pVOID data, VRLEN size);

Description

Updates an existing resource. You must instantiate the resource object with the specific resource type and number that will uniquely identify the resource being updated. The resource data is any collection of data that you wish to store as a Resource. It can be a character string, a structure, or any variable type. size indicates the number of bytes occupied by data.

Return

None

See Also

CTResource.Add(), CTResource.Delete(), CTResource.First(), CTResource.Next(), CTResource.Find(), CTResource.GetType(), CTResource.SetType(), CTResource.GetNumber(), CTResource.SetNumber(), CTResource.GetName(), CTResource.SetName(), CTResource.GetDataLength(), CTResource.GetData(), CTResource.SetData(), CTResource.Unlock(), CTResource.IsLocked()

TOCIndex