dotnet / dotnet/dotnet-api-docs

Please provide an example of new usage!

Aperta
#3,063 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
area-System.Runtime.InteropServices doc-enhancement dotnet-api/prod Pri2
Lingua principale
C#
Stelle
949
Fork
1.7k
Merge medio
2g 19h
PR unite (30g)
52

Descrizione

**Machine translated**
@KleinPan commented on [Thu Aug 22 2019](https://github.com/dotnet/dotnet-api-docs.zh-cn/issues/47)

As the title, it is best to have examples of C++ code and C# code calling each other.

---
#### 文档详细信息

⚠ *请勿编辑此部分。 docs.microsoft.com ➟ GitHub 问题链接必须具有此部分。*

* ID: fefda702-61b2-2765-5629-74777733d8be
* Version Independent ID: 8149739c-0187-da29-a07e-3d53221447fa
* Content: [Marshal.PtrToStructure Method (System.Runtime.InteropServices)](https://docs.microsoft.com/zh-cn/dotnet/api/system.runtime.interopservices.marshal.ptrtostructure?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev16.query%3FappId%3DDev16IDEF1%26l%3DZH-CN%26k%3Dk(System.Runtime.InteropServices.Marshal.PtrToStructure)%3Bk(TargetFrameworkMoniker-.NETFramework%2CVersion%3Dv4.6.1)%3Bk(DevLang-csharp)%26rd%3Dtrue&view=netframework-4.8#feedback)
* Content Source: [xml/System.Runtime.InteropServices/Marshal.xml](https://github.com/dotnet/dotnet-api-docs.zh-cn/blob/live/xml/System.Runtime.InteropServices/Marshal.xml)
* Product: **dotnet-api**
* Technology: **system.runtime**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

---

@srvbpigh commented on [Thu Aug 22 2019](https://github.com/dotnet/dotnet-api-docs.zh-cn/issues/47#issuecomment-523781568)

你好,@KleinPan
 
感谢你的反馈。 
 
我们正在积极查看你的评论,并会很快地再次和你取得联系。 
 
深深的祝福, 
Microsoft DOCS International Team

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con xml/System.Runtime.InteropServices/Marshal.xml e con la pagina di documentazione collegata di Marshal.PtrToStructure. Esamina il contenuto esistente del metodo, quindi aggiungi esempi chiari di utilizzo dell’interoperabilità in C# e C++; la documentazione è completa quando entrambi gli scenari di chiamata richiesti sono rappresentati accuratamente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp, csharp
Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.