Freigeben über


SortOption.PropertyName-Eigenschaft

Ruft den Namen der Eigenschaft ab, nach der sortiert werden soll, oder legt diesen fest.

Namespace: System.DirectoryServices
Assembly: System.DirectoryServices (in system.directoryservices.dll)

Syntax

'Declaration
Public Property PropertyName As String
'Usage
Dim instance As SortOption
Dim value As String

value = instance.PropertyName

instance.PropertyName = value
public string PropertyName { get; set; }
public:
property String^ PropertyName {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_PropertyName ()

/** @property */
public void set_PropertyName (String value)
public function get PropertyName () : String

public function set PropertyName (value : String)

Eigenschaftenwert

Der Name der Eigenschaft, nach der sortiert werden soll. Der Standardwert ist ein NULL-Verweis (Nothing in Visual Basic).

Ausnahmen

Ausnahmetyp Bedingung

ArgumentNullException

Der Eigenschaftenwert ist ein NULL-Verweis (Nothing in Visual Basic).

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

SortOption-Klasse
SortOption-Member
System.DirectoryServices-Namespace