BitmapContent.ValidateCopyArguments Method

Note

This method is available only when developing for Windows.

Validates the arguments to the Copy function.

Syntax

'Declaration
Protected Shared Sub ValidateCopyArguments ( _
         sourceBitmap As BitmapContent, _
         sourceRegion As Rectangle, _
         destinationBitmap As BitmapContent, _
         destinationRegion As Rectangle _
)
protected static void ValidateCopyArguments (
         BitmapContent sourceBitmap,
         Rectangle sourceRegion,
         BitmapContent destinationBitmap,
         Rectangle destinationRegion
)
protected:
static void ValidateCopyArguments(
         BitmapContent sourceBitmap,
         Rectangle sourceRegion,
         BitmapContent destinationBitmap,
         Rectangle destinationRegion
)

Parameters

Remarks

Override this method to verify arguments from custom implementations of TryCopyFrom and TryCopyTo for your derived type.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

See Also

Reference

BitmapContent Class
BitmapContent Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP