NamespaceLocation Property
This property specifies where the extension is located in the Shell Namespace.
Syntax
Default Value
""
Remarks
This property describes where the Shell Namespace Extension will be located in the Shell Namespace.
Set this property before calling the Install method.
This location must be one of the following specified values (other values will not be translated properly into folder IDs):
NS_LOCATION_NONE | No location.
Used for extensions that implement "file as folder" feature and that may appear anywhere within the Shell namespace. | |
NS_LOCATION_COMMONPLACES | CommonPlaces | Add or Remove Programs Shell folder or Programs and Features (Windows 10 and later).
Corresponds to FOLDERID_ChangeRemovePrograms well-known ID. |
NS_LOCATION_CONTROLPANEL | ControlPanel | Control Panel folder.
Corresponds to FOLDERID_ControlPanelFolder well-known ID. |
NS_LOCATION_DESKTOP | Desktop | Desktop folder and Desktop itself.
Corresponds to FOLDERID_Desktop well-known ID. |
NS_LOCATION_FONTS | FontsFolder | Fonts folder.
Corresponds to FOLDERID_Fonts well-known ID. |
NS_LOCATION_MYCOMPUTER | MyComputer | My Computer Shell folder.
Corresponds to FOLDERID_ComputerFolder well-known ID. |
NS_LOCATION_NETWORK_NEIGHBORHOOD | NetworkNeighborhood | Network Shell folder.
Corresponds to FOLDERID_NetworkFolder well-known ID. |
NS_LOCATION_ENTIRE_NETWORK | NetworkNeighborhood\\EntireNetwork | Network Shortcuts folder.
Corresponds to FOLDERID_NetHood well-known ID. |
NS_LOCATION_PRINTERS_AND_FAXES | PrintersAndFaxes | Printers and Faxes folder or Devices and Printers (Windows 10 or later).
Corresponds to FOLDERID_PrintersFolder well-known ID. |
NS_LOCATION_USERS_FILES | UsersFiles | User's root folder.
Corresponds to FOLDERID_UsersFiles well-known ID. |
NS_LOCATION_USERS_LIBRARIES | UsersLibraries | Libraries folder.
Corresponds to FOLDERID_UsersLibraries well-known ID. |
Additional information about well-known folder IDs can be found in the dedicated MSDN topic.