Partager via


HtmlWriter.WriteAttribute Method (HtmlAttributeId, Char[], Int32, Int32)

The WriteAttribute method reads an attribute value from a buffer and writes it to the output with the name specified by the id parameter.

Namespace: Microsoft.Exchange.Data.TextConverters
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Sub WriteAttribute ( _
    id As HtmlAttributeId, _
    buffer As Char(), _
    index As Integer, _
    count As Integer _
)
public void WriteAttribute (
    HtmlAttributeId id,
    char[] buffer,
    int index,
    int count
)
public:
void WriteAttribute (
    HtmlAttributeId id, 
    array<wchar_t>^ buffer, 
    int index, 
    int count
)
public void WriteAttribute (
    HtmlAttributeId id, 
    char[] buffer, 
    int index, 
    int count
)
public function WriteAttribute (
    id : HtmlAttributeId, 
    buffer : char[], 
    index : int, 
    count : int
)

Parameters

  • id
    A HtmlAttributeId enumeration value identifying the attribute to write.
  • buffer
    The character array to write the value data from.
  • index
    The starting index in buffer.
  • count
    The number of characters to write.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003