IWMSStreamHeader.GetStringAttribute (Visual Basic .NET)

banner art

Previous Next

IWMSStreamHeader.GetStringAttribute (Visual Basic .NET)

The GetStringAttribute method retrieves the value of a string attribute.

Syntax

  

Parameters

dwAttributeId

UInt32 containing the index of the attribute to retrieve.

pszAttribute

Reference to a String containing the value of the attribute.

Return Values

This method does not return a value.

If this method fails, it throws an exception.

Number Description
0x8000FFFF pszAttribute is null or dwAttributeId is not a valid index location.
0x8007000E There is insufficient memory to complete the function.

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