Compartilhar via


IVsWritableSettingsStore.PropertyExists Method (String, String, Int32%)

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: String

    [in] The path of the collection.

  • propertyName
    Type: String

    [in] The property name.

  • pfExists
    Type: Int32%

    [out] The result.

Return Value

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

.NET Framework Security

See Also

Reference

IVsWritableSettingsStore Interface

PropertyExists Overload

Microsoft.VisualStudio.Shell.Interop Namespace