Expand Minimize
This topic has not yet been rated - Rate this topic

FileAttributes Enumeration

Ff751106.note(en-us,MSDN.10).gifNote:
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.

Script:  http://js.live.net/4.1/loader.js
Feature:  Microsoft.Live.Services
Namespace:  Microsoft.Live.Services
 
Ff751106.alert_note(en-us,MSDN.10).gifNote

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) {

}

Windows Live Messenger Connect

Supported in: 4.1

Internet Explorer 8.0, Internet Explorer 7.0, Internet Explorer 6.0, Firefox 3.6, Firefox 3.5, Firefox 3.0, Firefox 2.0, Firefox 1.5, Chrome 4.0, Chrome 3.0, Chrome 2.0, Chrome 1.0, Safari 4.0, Safari 3.0

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.