# Name
{: .no_toc }

Returns the system identity name of the Windows shell property.

Syntax: *object*.**Name**

*object*
: *required* An object expression that evaluates to a **FileProperty** object.

Returns a **String** containing the system identity name of the property, such as `"System.ItemFolderNameDisplay"`. This name is safe to use as an identity field even on non-English systems.

A property that has no system name returns an empty string. Use [**ID**](/tB/Packages/Contributed/FileProps/FileProperty/ID.md) to identify such a property.

### Remarks

**Name** differs from [**NameDesc**](/tB/Packages/Contributed/FileProps/FileProperty/NameDesc.md), which returns a localized version of the name that is not always available. When storing or comparing property identifiers across locale boundaries, use **Name** rather than **NameDesc**.

For an alternative unique identifier that includes the property schema GUID and index, see [**ID**](/tB/Packages/Contributed/FileProps/FileProperty/ID.md).

### Example

This example iterates over all shell properties for a file and prints the system name and value of each one to the Debug console.

```tb check_build
Dim Props As FileProperties
Set Props = FilePropertyExplorer.OpenFile("C:\Example\photo.jpg")

Dim i As Long
For i = 0 To Props.Count - 1
    Dim Prop As FileProperty
    Set Prop = Props.Item(i)
    Debug.Print Prop.Name & " = " & Prop.ValueDesc
Next i
```

### See Also

- [NameDesc](/tB/Packages/Contributed/FileProps/FileProperty/NameDesc.md) property -- returns the localized display name of the property
- [ID](/tB/Packages/Contributed/FileProps/FileProperty/ID.md) property -- returns the schema GUID and index as a unique identifier
- [Value](/tB/Packages/Contributed/FileProps/FileProperty/Value.md) property -- returns or sets the current value of the shell property as a Variant
- [ValueDesc](/tB/Packages/Contributed/FileProps/FileProperty/ValueDesc.md) property -- returns the current value as a localized string
- [FileProperty](/tB/Packages/Contributed/FileProps/FileProperty/index.md) class
