ערוך

שתף באמצעות


MetadataStringDecoder(Encoding) Constructor

Definition

Initializes a new instance of the MetadataStringDecoder class using the given encoding.

public:
 MetadataStringDecoder(System::Text::Encoding ^ encoding);
public MetadataStringDecoder (System.Text.Encoding encoding);
new System.Reflection.Metadata.MetadataStringDecoder : System.Text.Encoding -> System.Reflection.Metadata.MetadataStringDecoder
Public Sub New (encoding As Encoding)

Parameters

encoding
Encoding

The encoding to use.

Remarks

To cache and reuse existing strings, create a derived class and override GetString(Byte*, Int32).

Applies to