Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns the type of the requested property.
Namespace: Microsoft.VisualStudio.Settings
Assembly: Microsoft.VisualStudio.Settings (in Microsoft.VisualStudio.Settings.dll)
Syntax
'Declaration
Public MustOverride Function GetPropertyType ( _
collectionPath As String, _
propertyName As String _
) As SettingsType
'Usage
Dim instance As SettingsStore
Dim collectionPath As String
Dim propertyName As String
Dim returnValue As SettingsType
returnValue = instance.GetPropertyType(collectionPath, _
propertyName)
public abstract SettingsType GetPropertyType(
string collectionPath,
string propertyName
)
public:
virtual SettingsType GetPropertyType(
String^ collectionPath,
String^ propertyName
) abstract
abstract GetPropertyType :
collectionPath:string *
propertyName:string -> SettingsType
public abstract function GetPropertyType(
collectionPath : String,
propertyName : String
) : SettingsType
Parameters
- collectionPath
Type: System.String
Path of the collection of the property.
- propertyName
Type: System.String
Name 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.