ChannelServices.RegisteredChannels プロパティ
アセンブリ: mscorlib (mscorlib.dll 内)
構文
例外
使用例
' Retrieve and print information about the registered channels. Dim myIChannelArray As IChannel() = ChannelServices.RegisteredChannels Dim i As Integer For i = 0 To myIChannelArray.Length - 1 Console.WriteLine("Name of Channel: {0}", myIChannelArray(i).ChannelName) Console.WriteLine("Priority of Channel: {0}", + myIChannelArray(i).ChannelPriority) Next i
// Retrieve and print information about the registered channels. IChannel[] myIChannelArray = ChannelServices.RegisteredChannels; for (int i=0; i<myIChannelArray.Length; i++) { Console.WriteLine("Name of Channel: {0}", myIChannelArray[i].ChannelName); Console.WriteLine("Priority of Channel: {0}", +myIChannelArray[i].ChannelPriority); }
// Retrieve and print information about the registered channels. array<IChannel^>^myIChannelArray = ChannelServices::RegisteredChannels; for ( int i = 0; i < myIChannelArray->Length; i++ ) { Console::WriteLine( "Name of Channel: {0}", myIChannelArray[ i ]->ChannelName ); Console::WriteLine( "Priority of Channel: {0}", myIChannelArray[ i ]->ChannelPriority ); }
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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
参照
- ChannelServices.RegisteredChannels プロパティのページへのリンク