IWMSPlugin.Properties (Visual Basic .NET)
Previous | Next |
IWMSPlugin.Properties (Visual Basic .NET)
The Properties property retrieves an IWMSNamedValues collection containing name-value pairs that describe the plug-in.
Syntax
IWMSNamedValues = Plugin.Properties
Property Value
An IWMSNamedValues collection.
Remarks
This property is read-only. For more information, see the IWMSNamedValues object and the IWMSNamedValue object.
Example Code
Imports Microsoft.WindowsMediaServices.Interop Imports System.Runtime.InteropServices Private Sub GetPluginProperties() ' Declare variables. Dim Server As WMSServer Dim Plugins As IWMSPlugins Dim Plugin As IWMSPlugin Dim Properties As IWMSNamedValues Try ' Create the WMSServer object. Server = New WMSServer() ' Retrieve the IWMSPlugins object. Plugins = Server.Authenticators ' Retrieve information about each plug-in. For Each Plugin In Plugins ' Retrieve a pointer to a collection of name-value ' pairs containing plug-in properties. Properties = Plugin.Properties Next Catch excCom As COMException ' TODO: Handle COM exceptions. Catch exc As Exception ' TODO: Handle errors. Finally ' TODO: Clean-up code goes here. End Try End Sub
Requirements
Reference: Add a reference to Microsoft.WindowsMediaServices.
Namespace: Microsoft.WindowsMediaServices.Interop.
Assembly: Microsoft.WindowsMediaServices.dll.
Library: WMSServerTypeLib.dll.
Platform: Windows Server 2003 family, Windows Server 2008 family.
See Also
- IWMSNamedValue Object (Visual Basic .NET)
- IWMSNamedValues Object (Visual Basic .NET)
- IWMSPlugin Object (Visual Basic .NET)
Previous | Next |