Udostępnij za pośrednictwem


DkmEmbeddedDocument.Create Method

Definition

Create a new DkmEmbeddedDocument object instance.

This API was introduced in Visual Studio 15 Update 5 (DkmApiVersion.VS15Update5).

public:
 static Microsoft::VisualStudio::Debugger::Symbols::DkmEmbeddedDocument ^ Create(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ Module, System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ Content, Microsoft::VisualStudio::Debugger::Symbols::DkmCompressionAlgorithmId CompressionAlgorithm, System::UInt32 UncompressedSize);
public static Microsoft.VisualStudio.Debugger.Symbols.DkmEmbeddedDocument Create (Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, System.Collections.ObjectModel.ReadOnlyCollection<byte> Content, Microsoft.VisualStudio.Debugger.Symbols.DkmCompressionAlgorithmId CompressionAlgorithm, uint UncompressedSize);
static member Create : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * System.Collections.ObjectModel.ReadOnlyCollection<byte> * Microsoft.VisualStudio.Debugger.Symbols.DkmCompressionAlgorithmId * uint32 -> Microsoft.VisualStudio.Debugger.Symbols.DkmEmbeddedDocument
Public Shared Function Create (Module As DkmModule, Content As ReadOnlyCollection(Of Byte), CompressionAlgorithm As DkmCompressionAlgorithmId, UncompressedSize As UInteger) As DkmEmbeddedDocument

Parameters

Module
DkmModule

[In] The module that contains this Module.

Content
ReadOnlyCollection<Byte>

[In] The raw bytes of the Content contained in the symbol file. These bytes may need to be decompressed.

CompressionAlgorithm
DkmCompressionAlgorithmId

[In] The compression algorithm used to compress the bytes contained in Content.

UncompressedSize
UInt32

[In] The length, in bytes, of the Content field when decompressed. Will be 0 if Content is not compressed or if the uncompressed size is not available.

Returns

[Out] Result of this method call.

Applies to