Partilhar via


Rectangle.Contains Method (Rectangle, Boolean)

Determines whether this Rectangle entirely contains a specified Rectangle.

Syntax

'Declaration
Public Sub Contains ( _
         ref value As Rectangle, _
         out result As Boolean _
)
public void Contains (
         ref Rectangle value,
         out bool result
)
public:
void Contains(
         ref Rectangle value,
         out bool result
)

Parameters

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone