GetUserPref

導入

v1.0

詳細

指定されたユーザ プリファレンスの設定/値を戻します。

スクリプト構文

oVariant = GetUserPref( Target );

戻り値

Variant

パラメータ

パラメータ タイプ 説明
Target UserPreference 取得するユーザ プリファレンス

VBScript の例

'

' This example demonstrates how to find the current user 

' setting for the automatic inspection setting

'

bPopUpPPGs = GetUserPref(siAutoInspect)

if bPopUpPPGs then

	Application.LogMessage "true"

else 

	Application.LogMessage "false"

end if

関連項目

SetUserPref Preferences.GetPreferenceValue プロパティ エディタの自動検証