<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "EndpointSecurity",
  "identifier" : "/documentation/EndpointSecurity/es_event_create_t/destination_type",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Endpoint Security"
    ],
    "preciseIdentifier" : "c:@SA@es_event_create_t@FI@destination_type"
  },
  "title" : "destination_type"
}
-->

# destination_type

The type of destination for the event, which can be either an existing file or information that describes a new file’s pending location.

```
var destination_type: es_destination_type_t
```

## Discussion

Use the value of this member to parse the [`destination`](/documentation/EndpointSecurity/es_event_create_t/destination) union.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)