You are writing an application that uses isolated storage to store user preferences.The application uses multiple assemblies.Multiple users will use this application on the same computer.You need to create a directory named Preferences in the isolated sto

题目

You are writing an application that uses isolated storage to store user preferences.The application uses multiple assemblies.Multiple users will use this application on the same computer.You need to create a directory named Preferences in the isolated storage area that is scoped to the current Microsoft Windows identity and assembly.Which code segment should you use?()

A.

B.

C.

D.


相似考题
更多“You are writing an application that uses isolated storage to store user preferences.The ap ”相关问题
  • 第1题:

    These small companies now have their own ______ identity.

    A.discreet
    B.discrete
    C.separated
    D.isolated

    答案:B
    解析:
    本题考查近义词辨析。题目意为“这些小公司现在有了自己的独立身份。”A选项“谨慎的,小心的”,B选项“离散的,不连续的”,C选项“分开的,分居的”,D选项“孤立的,独居的”。根据句意,应选择表示“分别的,单独的”意思,D选项强调地理和心理上的隔绝。
      

  • 第2题:

    下面哪一个语句创建了值为storage的宏变量location? ()

    A.&let location = storage;

    B.let &location = storage;

    C.%let location = "storage";

    D.%let location = storage;


    B

  • 第3题:

    1、test.jsp文件中有如下一行代码: <jsp:useBean id="user” scope="__” type=”com.UserBean/> 要使user对象可以作用于整个应用程序,下划线中应添入()。

    A.page

    B.request

    C.session

    D.application


    session

  • 第4题:

    以下属于调用摄像头硬件的权限的是:()

    A.<uses-permission android:name="android.permission.CAMERA"/>

    B.<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />

    C.<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

    D.<uses-permission android:name="android.permission.INTERNET"/>


    A

  • 第5题:

    在test.jsp文件中有如下一行代码: _____.setAttribute("user",user);要使user对象一直存在于会话中,直至终止或被删除为止,横线处应填入:()。

    A.page

    B.request

    C.session

    D.application


    $(‘#p-list li:nth-child(0)’).hide();

  • 第6题:

    在test.jsp文件中有如下一行代码: <jsp:useBean id=”user” scope=”__” type=”com.UserBean”> 要使user对象可以作用于整个应用程序,下划线中应填入()。

    A.page

    B.request

    C.session

    D.application


    session