次の方法で共有


Research.FavoriteService Property (Word)

Returns or sets a String that specifies the favorite research service.

Version Information

Version Added: Word 2010

Syntax

expression .FavoriteService

expression An expression that returns a Research object.

Remarks

The String that is set or returned for this property specifies the GUID of the favorite research service.

Setting this property has the same effect as choosing a favorite research service through the Research Options dialog in Word 2010.

Note

The GUIDs for all installed research services can be located in the HKCU\Software\Microsoft\Office\14.0\Common\Research\Sources registry key.

Example

The following code example changes the favorite research service to "Encarta Dictionary: English (North America)".

Dim objResearch As Research 
 
Sub MyFunction() 
 
Set objResearch = Research 
 
'Set the favorite service 
objResearch.FavoriteService = "FEF89077-4F4D-4803-A8BF-228083F70EAA" 
 
End Sub 

See Also

Concepts

Research Object Members

Research Object