Compartilhar via


SettingsStore.GetPropertyType Method

Returns the type of the requested property.

Namespace:  Microsoft.VisualStudio.Settings
Assemblies:   Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaração
Public MustOverride Function GetPropertyType ( _
    collectionPath As String, _
    propertyName As String _
) As SettingsType
public abstract SettingsType GetPropertyType(
    string collectionPath,
    string propertyName
)

Parameters

  • collectionPath
    Type: System.String
    Path of the collection of the property.

Return Value

Type: Microsoft.VisualStudio.Settings.SettingsType
Type of the property.

Exceptions

Exception Condition
ArgumentException

Throws this exception if the property does not exist.

.NET Framework Security

See Also

Reference

SettingsStore Class

Microsoft.VisualStudio.Settings Namespace