Freigeben über


SettingsStore.GetPropertyType(String, String) Method

Definition

Returns the type of the requested property.

public:
 abstract Microsoft::VisualStudio::Settings::SettingsType GetPropertyType(System::String ^ collectionPath, System::String ^ propertyName);
public:
 abstract Microsoft::VisualStudio::Settings::SettingsType GetPropertyType(Platform::String ^ collectionPath, Platform::String ^ propertyName);
 abstract Microsoft::VisualStudio::Settings::SettingsType GetPropertyType(std::wstring const & collectionPath, std::wstring const & propertyName);
public abstract Microsoft.VisualStudio.Settings.SettingsType GetPropertyType (string collectionPath, string propertyName);
abstract member GetPropertyType : string * string -> Microsoft.VisualStudio.Settings.SettingsType
Public MustOverride Function GetPropertyType (collectionPath As String, propertyName As String) As SettingsType

Parameters

collectionPath
String

Path of the collection of the property.

propertyName
String

Name of the property.

Returns

Type of the property.

Exceptions

Throws this exception if the property does not exist.

Remarks

This method is safe to access from any thread.

Applies to