IWMSStreamHeaderList.SetStringAttribute (C#)

banner art

Previous Next

IWMSStreamHeaderList.SetStringAttribute (C#)

The SetStringAttribute method specifies the value of a string attribute.

Syntax

  

Parameters

dwAttributeId

uint that contains the index of the attribute to retrieve.

szAttribute

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 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