Partager via


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

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

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

Syntax

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

Parameters

  • name
    The name of 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