IWMSStreamHeader.SetStringAttribute (Visual Basic .NET)

The SetStringAttribute method specifies the value of a string attribute.

IWMSStreamHeader.SetStringAttribute(  dwAttributeId As UInt32,
  szAttribute As String
)

Arguments

UInt32 containing the index of the attribute to set.

String containing the new 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

IWMSStreamHeader Object (Visual Basic .NET)