SortOption クラスの新しいインスタンスを初期化します。このクラスには、指定したプロパティ名と並べ替え順序が格納されています。
名前空間: System.DirectoryServices
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)
構文
'宣言
Public Sub New ( _
propertyName As String, _
direction As SortDirection _
)
'使用
Dim propertyName As String
Dim direction As SortDirection
Dim instance As New SortOption(propertyName, direction)
public SortOption (
string propertyName,
SortDirection direction
)
public:
SortOption (
String^ propertyName,
SortDirection direction
)
public SortOption (
String propertyName,
SortDirection direction
)
public function SortOption (
propertyName : String,
direction : SortDirection
)
パラメータ
- propertyName
並べ替えに使用するプロパティの名前。PropertyName プロパティは、この値に設定されます。
- direction
SortDirection 値の 1 つ。Direction プロパティは、この値に設定されます。
プラットフォーム
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0