Visual Basic (Declaration) | |
---|---|
Public ReadOnly Property Region As Region |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Region Region {get;} |
Return Value
Handle to a windows region.
When HolePunchRemoveCommand returns,
this property is updated with a single windows region corresponding to all changes, only if HolePunchRemoveCommandFlags.SingleRegion
has been set in the Flags property and HolePunchRemoveCommandFlags.LeadRegion has not been set. To use this, set the Flags property to
HolePunchRemoveCommandFlags.SingleRegion. It is the programmer's responsibility to dispose of this region when the region is no longer needed.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family