Partager via


IVsWritableSettingsStore.PropertyExists(String, String, Int32) Method

Definition

Determines whether a property exists in a given collection.

public:
 int PropertyExists(System::String ^ collectionPath, System::String ^ propertyName, [Runtime::InteropServices::Out] int % pfExists);
int PropertyExists(std::wstring const & collectionPath, std::wstring const & propertyName, [Runtime::InteropServices::Out] int & pfExists);
public int PropertyExists (string collectionPath, string propertyName, out int pfExists);
abstract member PropertyExists : string * string * int -> int
Public Function PropertyExists (collectionPath As String, propertyName As String, ByRef pfExists As Integer) As Integer

Parameters

collectionPath
String

[in] The path of the collection.

propertyName
String

[in] The property name.

pfExists
Int32

[out] The result.

Returns

Returns S_OK if the status of the property was returned.

Implements

Remarks

This method is safe to access from any thread.

Applies to