DkmResolvedMappedDocument.Create Yöntem

Tanım

Yeni bir çözümlenmiş eşlenmiş belge nesnesi oluşturur. Bu API genellikle komut dosyası yerel Aracısı tarafından çağırılır.

public:
 static Microsoft::VisualStudio::Debugger::Symbols::DkmResolvedMappedDocument ^ Create(Microsoft::VisualStudio::Debugger::Symbols::DkmModule ^ Module, System::String ^ DocumentName, Microsoft::VisualStudio::Debugger::Script::DkmScriptDocument ^ ScriptDocument, Microsoft::VisualStudio::Debugger::Symbols::DkmDocumentMatchStrength MatchStrength, Microsoft::VisualStudio::Debugger::Symbols::DkmResolvedDocumentWarning Warning, bool TextRequested, System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Debugger::Script::DkmScriptBlockMappingInfo ^> ^ ScriptBlocks, Microsoft::VisualStudio::Debugger::DkmDataItem ^ DataItem);
public static Microsoft.VisualStudio.Debugger.Symbols.DkmResolvedMappedDocument Create (Microsoft.VisualStudio.Debugger.Symbols.DkmModule Module, string DocumentName, Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument ScriptDocument, Microsoft.VisualStudio.Debugger.Symbols.DkmDocumentMatchStrength MatchStrength, Microsoft.VisualStudio.Debugger.Symbols.DkmResolvedDocumentWarning Warning, bool TextRequested, System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Script.DkmScriptBlockMappingInfo> ScriptBlocks, Microsoft.VisualStudio.Debugger.DkmDataItem DataItem);
static member Create : Microsoft.VisualStudio.Debugger.Symbols.DkmModule * string * Microsoft.VisualStudio.Debugger.Script.DkmScriptDocument * Microsoft.VisualStudio.Debugger.Symbols.DkmDocumentMatchStrength * Microsoft.VisualStudio.Debugger.Symbols.DkmResolvedDocumentWarning * bool * System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Debugger.Script.DkmScriptBlockMappingInfo> * Microsoft.VisualStudio.Debugger.DkmDataItem -> Microsoft.VisualStudio.Debugger.Symbols.DkmResolvedMappedDocument
Public Shared Function Create (Module As DkmModule, DocumentName As String, ScriptDocument As DkmScriptDocument, MatchStrength As DkmDocumentMatchStrength, Warning As DkmResolvedDocumentWarning, TextRequested As Boolean, ScriptBlocks As ReadOnlyCollection(Of DkmScriptBlockMappingInfo), DataItem As DkmDataItem) As DkmResolvedMappedDocument

Parametreler

Module
DkmModule

'Ndaki DkmModule sınıfı bir veya daha fazla işleme yüklenmiş olan veya bir kez yüklenen bir kod paketini (örn: DLL veya exe) temsil eder. DkmModule sınıfı, sembol API 'Lerine yönelik merkezi nesnedir ve sembol işleyicisinin nelerin yüklü olduğuna ilişkin gösterimi ile 1:1 ' dir. Bir kod grubu üç farklı işleme (ya da aynı işleme, ancak üç farklı temel adres ya da üç farklı uygulama etki alanı ile) yüklenirse, ancak sembol işleyicisi bunların tümünün özdeş olduğu şekilde olduğunu düşünüyorsanız, yalnızca bir modül nesnesi olur.

DocumentName
String

'Ndaki Kaynak dosyanın adı. Bu genellikle tam bir yoldur, ancak bazı senaryolarda kısmi yol veya uzantıya sahip bir ad (örn: example. cpp) olur. Dinamik bir belge (örn. Internet Explorer 'dan betik çalıştırma) ' Path ' bir yerel dosya yolu yerine bir URL olabilir.

ScriptDocument
DkmScriptDocument

[In, Isteğe bağlı] Bu çözümlenmiş belgenin gösterdiği betik belgesi. Bu, komut dosyası tabanlı olmayan sembol sağlayıcıları için null olmalıdır.

MatchStrength
DkmDocumentMatchStrength

'Ndaki DkmDocumentQuery ve sonuçtaki DkmResolvedDocument arasında bir eşleşmenin ne kadar kuvvetli olduğunu gösterir.

Warning
DkmResolvedDocumentWarning

'Ndaki Eşleşme sırasında oluşan uyarı. Bağlama bağlı olarak, bunların kullanıcıya başında olması gerekebilir.

TextRequested
Boolean

'Ndaki Doğru ise, kaynak metni döndürün.

ScriptBlocks
ReadOnlyCollection<DkmScriptBlockMappingInfo>

[In, Isteğe bağlı] Proje öğesi belgesindeki betik blokları koleksiyonu.

DataItem
DkmDataItem

[In, Isteğe bağlı] Yeni DkmResolvedMappedDocument örneğine eklenecek veri nesnesi. Çağıranın bir veri öğesi eklemesi gerekmiyorsa ' null ' geçirin.

Döndürülenler

DkmResolvedMappedDocument

Dışı Bu yöntem çağrısının sonucu.

Şunlara uygulanır