English 中文(简体)
I ve got Fairly Local, 但我需要在VB实施一个项目,但职能——()没有得到支持。
原标题:I ve got FairlyLocal, but I need it for a project in VB but the function _() is not supported

我发现,这个冰层图书馆将地方化纳入“网络”应用。 问题在于,这个公平的地方正在C#. 现在,我下载了一名兑换者,以便在VB发生。 NET。

但是,似乎我的项目是使用“公平当地人”的,该词是双亲,使用<条码>_(......),其中<条码>__是该功能的名称。

我现在要修改<代码>——至t ,以便与VB合作。 NET的应用情况也是如此。

如何做到这一点。 I m a Greeny to VB. NET和 。 总的说来,请不要谨慎。

Edit: For example I got a login page with a h1:

<ASP:CONTENT ID="content2" CONTENTPLACEHOLDERID="heading" RUNAT="server">
    <% _("This is a heading") %>
</ASP:CONTENT>

Problem I get is at the _ : Identifier expected I also tried what Justin said (with the brackets []) but that doesn t work eiter.

最佳回答

由于只有来文方才分发,假定,即,在您的编码中仅从_改为。 然后,建造图书馆并在您的VB中加以使用。 NET应用软件。

问题回答

我不敢肯定会发挥作用,但你可以把VB的名称改为_。 NET将其放在方括号内。 当识别器的名称与VB相同时,更经常使用。 NET 关键词——它不得使用所有符号。 类似:

result = obj.[_]()

Don t换算。 就在C#中加以补充,将其作为项目参考。 从那儿看,如果用纸面书写,就能够使用。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签