FileAttributes Enumeration
Note: |
|---|
| Current information about Live Connect is now available in the Windows Live Developer Center. The information in the following sections is provided for legacy purposes only. |
Feature: Microsoft.Live.Services
Namespace: Microsoft.Live.Services
Note |
|---|
The JavaScript Library for Windows Live Messenger Connect is built by using the Microsoft Ajax Library. Microsoft Ajax exposes a type system that enables you to add object-oriented capabilities to your JavaScript code. To learn more about creating and using enumerations, see Creating Custom Client Script by Using the Microsoft Ajax Library. |
// Declaration: Microsoft.Live.Services.FileAttributes = function() {}; Microsoft.Live.Services.FileAttributes.prototype = { readOnly : 1, hidden : 2, system : 4, directory : 16, archive : 32, device : 64, normal : 128, temporary : 256, sparseFile : 512, reparsePoint : 1024, compressed : 2048, offline : 4096, notContentIndexed : 8192, encrypted : 16384 }; Microsoft.Live.Services.FileAttributes.registerEnum( 'Microsoft.Live.Services.FileAttributes', false); // Usage: if (Microsoft.Live.Services.FileAttributes.encrypted == value) { }
Note: