IVsWritableSettingsStore.GetStringOrDefault Method (String, String, String, String%)
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Déclaration
Function GetStringOrDefault ( _
collectionPath As String, _
propertyName As String, _
defaultValue As String, _
<OutAttribute> ByRef value As String _
) As Integer
'Utilisation
Dim instance As IVsWritableSettingsStore
Dim collectionPath As String
Dim propertyName As String
Dim defaultValue As String
Dim value As String
Dim returnValue As Integer
returnValue = instance.GetStringOrDefault(collectionPath, _
propertyName, defaultValue, value)
int GetStringOrDefault(
string collectionPath,
string propertyName,
string defaultValue,
out string value
)
int GetStringOrDefault(
[InAttribute] String^ collectionPath,
[InAttribute] String^ propertyName,
[InAttribute] String^ defaultValue,
[OutAttribute] String^% value
)
abstract GetStringOrDefault :
collectionPath:string *
propertyName:string *
defaultValue:string *
value:string byref -> int
function GetStringOrDefault(
collectionPath : String,
propertyName : String,
defaultValue : String,
value : String
) : int
Parameters
- collectionPath
Type: System.String
- propertyName
Type: System.String
- defaultValue
Type: System.String
- value
Type: System.String%
Return Value
Type: System.Int32
Implements
IVsSettingsStore.GetStringOrDefault(String, String, String, String%)
.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