IWMSStreamHeaderList.SetIntegerAttribute (C#)

The SetIntegerAttribute method specifies the value of an integer attribute.

void IWMSStreamHeaderList.SetIntegerAttribute(
  uint dwAttributeId,
  uint dwAttribute
);

Arguments

uint that contains the index of the attribute to retrieve.

uint that contains the value of the attribute.

Return Value

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.

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

Concepts

IWMSStreamHeaderList Object (C#)