开发者

Where is the IBuffer byte[].AsBuffer extension method?

During build they mentioned that to get an IBuffer, there's an extension method on byte arrays called AsBuffer(). Unfortunately they didn't mention what namespace it's hiding in, and doesn't seem to be in the many I've adde开发者_开发问答d. Has anyone found where it's hiding at?


The namespace is System.Runtime.InteropServices.WindowsRuntime.

VS Object Browser is your friend here - just be sure to set the framework switcher accordingly. For .NET libraries available in Metro apps, you want ".NET Framework Core 4.5".

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜