Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
声明
Function SetString ( _
    collectionPath As String, _
    propertyName As String, _
    value As String _
) As Integer
用法
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
- collectionPath
 Type: System.String
- propertyName
 Type: System.String
- value
 Type: System.String
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsWritableSettingsStore Interface