Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns the number of properties under the given collection.
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
'Declaration
Public MustOverride Function GetPropertyCount ( _
collectionPath As String _
) As Integer
public abstract int GetPropertyCount(
string collectionPath
)
public:
virtual int GetPropertyCount(
String^ collectionPath
) abstract
abstract GetPropertyCount :
collectionPath:string -> int
public abstract function GetPropertyCount(
collectionPath : String
) : int
Parameters
collectionPath
Type: System.StringPath of the collection.
Return Value
Type: System.Int32
Number of properties is returned.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Throws this exception if the collection 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.