Partager via


IVsWritableSettingsStore.SetString Method

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Function SetString ( _
    collectionPath As String, _
    propertyName As String, _
    value As String _
) As Integer
'Utilisation
Dim instance As IVsWritableSettingsStore
Dim collectionPath As String
Dim propertyName As String
Dim value As String
Dim returnValue As Integer

returnValue = instance.SetString(collectionPath, _
    propertyName, value)
int SetString(
    string collectionPath,
    string propertyName,
    string value
)
int SetString(
    [InAttribute] String^ collectionPath, 
    [InAttribute] String^ propertyName, 
    [InAttribute] String^ value
)
abstract SetString : 
        collectionPath:string * 
        propertyName:string * 
        value:string -> int 
function SetString(
    collectionPath : String, 
    propertyName : String, 
    value : String
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

IVsWritableSettingsStore Members

Microsoft.VisualStudio.Shell.Interop Namespace