XFileData.SetData(Object) Method (Microsoft.DirectX.Direct3D)

Sets a range of data.


Visual Basic Public Sub SetData( _
    ByVal data As Object _
C# public void SetData(
    object data
C++ public:
void SetData(
    ObjectLeave Sitedata
JScript public function SetData(
    data : ObjectLeave Site


data System.Object
An ObjectLeave Site that contains the data to set into this XFileData object.


Exception GraphicsException.ErrorCode Cause
GraphicsException XFileErrorCodes.BadValue A variable is outside its expected range; typically returned when an object is invalid.
XFileErrorCodes.NoMoreObjects No more child objects are available.