다음을 통해 공유


IVsWritableSettingsStore.GetPropertyType(String, String, UInt32) Method

Definition

Returns the type of a specified property.

public:
 int GetPropertyType(System::String ^ collectionPath, System::String ^ propertyName, [Runtime::InteropServices::Out] System::UInt32 % type);
int GetPropertyType(std::wstring const & collectionPath, std::wstring const & propertyName, [Runtime::InteropServices::Out] unsigned int & type);
public int GetPropertyType (string collectionPath, string propertyName, out uint type);
abstract member GetPropertyType : string * string * uint32 -> int
Public Function GetPropertyType (collectionPath As String, propertyName As String, ByRef type As UInteger) As Integer

Parameters

collectionPath
String

[in] The path of the collection.

propertyName
String

[in] The property name.

type
UInt32

[out] The property type.

Returns

Returns S_OK if the property was returned or E_INVALIDARG if the property does not exist.

Implements

Remarks

This method is safe to access from any thread.

Applies to