DragDrop.GetFileDescriptorCount
-------------------------------

Queries number of file descriptors.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DragDrop](component_DragDrop.md) | [8.1](newinversion81.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "DragDrop.GetFileDescriptorCount"; droparea ) 

**MBS**( **"DragDrop.GetFileDescriptorCount";** /\* Queries number of file descriptors. \*/  
**$droparea**) /\* The reference ID for this drop area.e.g. $dropHandle \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| droparea | The reference ID for this drop area. | $dropHandle |

### Result

Returns number or error.

### Description

Queries number of file descriptors.  
### Examples

Query count of file descriptors:

 Set Variable \[ $count ; Value:MBS ("DragDrop.GetFileDescriptorCount"; $dropview ; "") \]  
### See also

- [DragDrop.GetFileDescriptor](DragDropGetFileDescriptor.md)

### Example Databases

- [Drag and Drop/DragTest Popover](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Drag%20and%20Drop/DragTest%20Popover.shtml#3ScriptAnchor_)
- [Drag and Drop/DragTest](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Drag%20and%20Drop/DragTest.shtml#3ScriptAnchor_)
- [Mac and iOS/PDFKit/PDF Merge Shrink Tool](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/PDFKit/PDF%20Merge%20Shrink%20Tool.shtml#3ScriptAnchor_)

### Blog Entries

- [Adding Drag and Drop receiver to a layout](https://www.mbsplugins.de/archive/2018-10-08/Adding_Drag_and_Drop_receiver_/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 5th February 2018 , last changed 18th December 2020

  
[DragDrop.GetFileDescriptor](DragDropGetFileDescriptor.md) - [DragDrop.GetFilePathsToDrag](DragDropGetFilePathsToDrag.md)

[HTML Version](DragDropGetFileDescriptorCount.shtml)