[]
IWICMetadataQueryWriter
[Guid("A721791A-0DEF-4d06-BD91-2118BF1DB10B")]
public class MetadataQueryWriter : MetadataQueryReader, IDisposable, IUnknown
Initializes a new instance of the MetadataQueryWriter class.
public MetadataQueryWriter(IntPtr nativePtr)
nativePtr
System.IntPtrThe native pointer.
Initializes a new instance of the MetadataQueryWriter class from a MetadataQueryReader.
public static MetadataQueryWriter Create(ImagingFactory factory, MetadataQueryReader metadataQueryReader, Guid guidVendorRef)
factory
ImagingFactoryThe factory.
metadataQueryReader
MetadataQueryReaderThe metadata query reader.
guidVendorRef
System.GuidThe GUID vendor ref.
Initializes a new instance of the MetadataQueryWriter class from a MetadataQueryReader.
public static MetadataQueryWriter Create(ImagingFactory factory, MetadataQueryReader metadataQueryReader)
factory
ImagingFactoryThe factory.
metadataQueryReader
MetadataQueryReaderThe metadata query reader.
Initializes a new instance of the MetadataQueryWriter class.
public static MetadataQueryWriter Create(ImagingFactory factory, Guid guidMetadataFormat, Guid guidVendorRef)
factory
ImagingFactoryThe factory.
guidMetadataFormat
System.GuidThe GUID metadata format.
guidVendorRef
System.GuidThe GUID vendor ref.
Initializes a new instance of the MetadataQueryWriter class.
public static MetadataQueryWriter Create(ImagingFactory factory, Guid guidMetadataFormat)
factory
ImagingFactoryThe factory.
guidMetadataFormat
System.GuidThe GUID metadata format.
HRESULT IWICMetadataQueryWriter::RemoveMetadataByName([In] const wchar_t* wzName)
public void RemoveMetadataByName(string name)
name
stringHRESULT IWICMetadataQueryWriter::SetMetadataByName([In] const wchar_t* wzName,[In] const void* pvarValue)
public void SetMetadataByName(string name, IntPtr varValueRef)
name
stringvarValueRef
System.IntPtrSets the value for a metadata name
public void SetMetadataByName(string name, object value)
name
stringThe name of the metadata.
value
objectThe value.
Performs an explicit conversion from System.IntPtr to MetadataQueryWriter.
public static explicit operator MetadataQueryWriter(IntPtr nativePointer)
nativePointer
System.IntPtr