This topic contains documentation for the Microsoft.Search.Query.Office.Context schema. For the text of the schema, see Microsoft.Search.Query.Office.Context Schema.
Defines context information that augments a query. The root element in this schema is designed to be used inside the Microsoft.Search.Query.xsd schema.
| Attribute | Value |
|---|---|
| targetNamespace | urn:Microsoft.Search.Query.Office.Context |
| elementFormDefault | qualified |
| attributeFormDefault | unqualified (default) |
| Namespace | Prefix |
|---|---|
| urn:Microsoft.Search.Types | t: |
| urn:Microsoft.Search.Query.Office.Context | (default) |
| http://www.w3.org/2001/XMLSchema | xsd: |
| http://www.w3.org/XML/1998/namespace | xml: |
| namespace | id | schemaLocation |
|---|---|---|
| urn:Microsoft.Search.Types | (none) | Microsoft.Search.Types.xsd |
</UserPreferences>
</ServiceData>
</SystemInformation>
</ApplicationContext>
</OfficeContext>
Context information that may be useful in better handling the query. Describes context information generated by Microsoft® Office 2003.
| Property | Value |
|---|---|
| abstract | false (default) |
| name | OfficeContext |
| nillable | false (default) |
| type | complexType |
Attributes
Attribute: revision
Unsigned integer indicating the revision of the schema used in the request.
| Property | Value |
|---|---|
| name | revision |
| type | xsd:unsignedInt |
| use | optional |
Attribute: build
The build of the component used to generate the request.
| Property | Value |
|---|---|
| name | build |
| type | t:String255 |
| use | optional |
Subelements: Sequence
Elements must appear in the specified order.
User information and preferences.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | UserPreferences |
| nillable | false (default) |
| type | UserPreferencesType |
Data that the service has stored with Office.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | ServiceData |
| nillable | false (default) |
| type | ServiceDataType |
The name and version of the application the user is in.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | ApplicationContext |
| nillable | false (default) |
| type | ApplicationType |
The language that the query is in, if the application recognizes it.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | QueryLanguage |
| nillable | false (default) |
| type | xsd:language |
Language corresponding to the keyboard.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | KeyboardLanguage |
| nillable | false (default) |
| type | xsd:language |
Any element in another namespace. Can be used for extensibility in the future.
| Property | Value |
|---|---|
| namespace | ##other |
| processContents | skip |
| minOccurs | 0 |
| maxOccurs | unbounded |
Complex Type: UserPreferencesType
Describes user information and preferences.
Attributes
None
Subelements: Sequence
Elements must appear in the specified order.
Set to true if the user requests filtered content.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | ParentalControl |
| nillable | false (default) |
| type | xsd:boolean |
Any element in another namespace. Can be used for extensibility in the future.
| Property | Value |
|---|---|
| namespace | ##other |
| processContents | skip |
| minOccurs | 0 |
| maxOccurs | unbounded |
Describes service-specific data stored with Office 2003.
Attributes
None
Subelements: Sequence
Elements must appear in the specified order.
Data.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | Data |
| nillable | false (default) |
| type | t:String255 |
Any element in another namespace. Can be used for extensibility in the future.
| Property | Value |
|---|---|
| namespace | ##other |
| processContents | skip |
| minOccurs | 0 |
| maxOccurs | unbounded |
Describes data about the application that the user is running.
Attributes
None
Subelements: Sequence
Elements must appear in the specified order.
Application name.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | Name |
| nillable | false (default) |
| type | t:String255 |
Application version.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | Version |
| nillable | false (default) |
| type | t:String255 |
Information about the system that is sending the query. The service provider can use this to determine how to respond.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | SystemInformation |
| nillable | false (default) |
| type | SystemInformationType |
Any element in another namespace. Can be used for extensibility in the future.
| Property | Value |
|---|---|
| namespace | ##other |
| processContents | skip |
| minOccurs | 0 |
| maxOccurs | unbounded |
Complex Type: SystemInformationType
Describes information about the system that is requesting the information. The service provider can use this to determine how to respond.
Attributes
None
Subelements: Sequence
Elements must appear in the specified order.
The system's main language.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | SkuLanguage |
| nillable | false (default) |
| type | xsd:language |
One of the system's language flavors. There could be multiple ones.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | unbounded |
| name | LanguagePack |
| nillable | false (default) |
| type | xsd:language |
The current language of the user interface.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | InterfaceLanguage |
| nillable | false (default) |
| type | xsd:language |
The country or region indicating the current location of the system.
| Property | Value |
|---|---|
| abstract | false (default) |
| minOccurs | 0 |
| maxOccurs | 1 (default) |
| name | Location |
| nillable | false (default) |
| type | t:ISO3166Type |
Any element in another namespace. Can be used for extensibility in the future.
| Property | Value |
|---|---|
| namespace | ##other |
| processContents | skip |
| minOccurs | 0 |
| maxOccurs | unbounded |