IVsSettingsStore.PropertyExists Method
Determines whether a property exists in a given collection.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Syntax
'Declaration
Function PropertyExists ( _
collectionPath As String, _
propertyName As String, _
<OutAttribute> ByRef pfExists As Integer _
) As Integer
int PropertyExists(
string collectionPath,
string propertyName,
out int pfExists
)
int PropertyExists(
[InAttribute] String^ collectionPath,
[InAttribute] String^ propertyName,
[OutAttribute] int% pfExists
)
abstract PropertyExists :
collectionPath:string *
propertyName:string *
pfExists:int byref -> int
function PropertyExists(
collectionPath : String,
propertyName : String,
pfExists : int
) : int
Parameters
- collectionPath
Type: System.String
[in] The path of the collection.
- propertyName
Type: System.String
[in] The property name.
- pfExists
Type: System.Int32%
[out] The result.
Return Value
Type: System.Int32
Returns S_OK if the status of the property was returned.
.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.