Share via


IWMSStreamHeaderList.GetStringAttribute (C#)

banner art

Previous Next

IWMSStreamHeaderList.GetStringAttribute (C#)

The GetStringAttribute method retrieves the value of a string attribute.

Syntax

  

Parameters

dwAttributeId

uint that contains the index of the attribute to retrieve.

pszAttribute

Reference to a string that contains the value of the attribute.

Return Values

This method does not return a value.

If this method fails, it throws an exception.

Number Description
0x80070057 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