次の方法で共有


IVsStringMap.SetValue メソッド

名前空間:  Microsoft.VisualStudio.Shell.Interop
アセンブリ:  Microsoft.VisualStudio (Microsoft.VisualStudio.dll 内)

構文

'宣言
Function SetValue ( _
    szKey As String, _
    szValue As String _
) As Integer
int SetValue(
    string szKey,
    string szValue
)
int SetValue(
    [InAttribute] String^ szKey, 
    [InAttribute] String^ szValue
)
abstract SetValue : 
        szKey:string * 
        szValue:string -> int 
function SetValue(
    szKey : String, 
    szValue : String
) : int

パラメーター

戻り値

型 : System.Int32

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

IVsStringMap インターフェイス

IVsStringMap メンバー

Microsoft.VisualStudio.Shell.Interop 名前空間