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