IWMSCacheProxy.CreateCacheItemCollection (Visual Basic .NET)
Previous | Next |
IWMSCacheProxy.CreateCacheItemCollection (Visual Basic .NET)
The CreateCacheItemCollection method is called by the server to create an IWMSCacheItemCollection object and retrieve a pointer to it.
Syntax
Parameters
ppCacheItemCollection
[out] Reference to an IWMSCacheItemCollection object.
Return Values
This method does not return a value.
Remarks
The IWMSCacheItemCollection object contains a collection of IWMSCacheItemDescriptor objects. The IWMSCacheItemDescriptor object retrieves the size, version number, expiration date, and URL of cached content.
Example Code
Imports Microsoft.WindowsMediaServices.Interop Imports System.Runtime.InteropServices Public Sub CreateCacheItemCollection(ByRef CacheItemCollection As IWMSCacheItemCollection) _ Implements IWMSCacheProxy.CreateCacheItemCollection Dim obj As IWMSCacheItemCollection Try obj = New IWMSCacheItemCollectionImpl(Me, DS.Tables("CachedItems")) CacheItemCollection = obj Catch Throw New COMException() 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, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.
See Also
Previous | Next |