Sets the user preferences as specified.
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop.11.0(在 Microsoft.VisualStudio.TextManager.Interop.11.0.dll 中)
语法
声明
Function SetUserPreferences3 ( _
pViewPrefs As VIEWPREFERENCES3(), _
pFramePrefs As FRAMEPREFERENCES2(), _
pLangPrefs As LANGPREFERENCES2(), _
pColorPrefs As FONTCOLORPREFERENCES2() _
) As Integer
int SetUserPreferences3(
VIEWPREFERENCES3[] pViewPrefs,
FRAMEPREFERENCES2[] pFramePrefs,
LANGPREFERENCES2[] pLangPrefs,
FONTCOLORPREFERENCES2[] pColorPrefs
)
int SetUserPreferences3(
[InAttribute] array<VIEWPREFERENCES3>^ pViewPrefs,
[InAttribute] array<FRAMEPREFERENCES2>^ pFramePrefs,
[InAttribute] array<LANGPREFERENCES2>^ pLangPrefs,
[InAttribute] array<FONTCOLORPREFERENCES2>^ pColorPrefs
)
abstract SetUserPreferences3 :
pViewPrefs:VIEWPREFERENCES3[] *
pFramePrefs:FRAMEPREFERENCES2[] *
pLangPrefs:LANGPREFERENCES2[] *
pColorPrefs:FONTCOLORPREFERENCES2[] -> int
function SetUserPreferences3(
pViewPrefs : VIEWPREFERENCES3[],
pFramePrefs : FRAMEPREFERENCES2[],
pLangPrefs : LANGPREFERENCES2[],
pColorPrefs : FONTCOLORPREFERENCES2[]
) : int
参数
pViewPrefs
类型:array<Microsoft.VisualStudio.TextManager.Interop.VIEWPREFERENCES3[][in] User preferences for the view settings.
pFramePrefs
类型:array<Microsoft.VisualStudio.TextManager.Interop.FRAMEPREFERENCES2[][in] User preferences for the frame settings.
pLangPrefs
类型:array<Microsoft.VisualStudio.TextManager.Interop.LANGPREFERENCES2[][in] User language settings preferences.
pColorPrefs
类型:array<Microsoft.VisualStudio.TextManager.Interop.FONTCOLORPREFERENCES2[][in] User color settings preferences.
返回值
类型:Int32
Returns S_OK if the method is successful; otherwise, returns an error code.
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。