Поделиться через


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.

Return Value

Type: System.Int32
Returns S_OK if the status of the property was returned.

.NET Framework Security

See Also

Reference

IVsSettingsStore Interface

Microsoft.VisualStudio.Shell.Interop Namespace