• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    *Tony Tanzillo

    CommandFlags.localizedNameId ??????

    58 Views, 2 Replies
    08-21-2005 10:49 AM
    Does anyone know what localizedNameId is?

    It is not the localized name of the command. So, if not,
    then what is it? Is it a resource ID ? If so, how does
    that work?

    --
    http://www.caddzone.com

    AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
    http://www.acadxtabs.com
    Please use plain text.
    *Albert Szilvasy

    Re: CommandFlags.localizedNameId ??????

    08-28-2005 11:53 AM in reply to: *Tony Tanzillo
    This is the id that is looked up in the satellite assembly of your main
    assembly.
    For example given the following
    namespace A
    {
    class B
    {
    [CommandMethod(..."C"...)
    public void test()
    }
    }
    }

    we will attempt to look up the string resource A.B.C in your satellite
    assembly.

    Albert
    "Tony Tanzillo" wrote in message
    news:4934432@discussion.autodesk.com...
    Does anyone know what localizedNameId is?

    It is not the localized name of the command. So, if not,
    then what is it? Is it a resource ID ? If so, how does
    that work?

    --
    http://www.caddzone.com

    AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
    http://www.acadxtabs.com
    Please use plain text.
    *Tony Tanzillo

    Re: CommandFlags.localizedNameId ??????

    08-28-2005 09:24 PM in reply to: *Tony Tanzillo
    Albert - Thanks. I reverse-engineered this by looking at AcLayer.

    --
    http://www.caddzone.com

    AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
    http://www.acadxtabs.com

    "Albert Szilvasy" wrote in message news:4941139@discussion.autodesk.com...
    This is the id that is looked up in the satellite assembly of your main
    assembly.
    For example given the following
    namespace A
    {
    class B
    {
    [CommandMethod(..."C"...)
    public void test()
    }
    }
    }

    we will attempt to look up the string resource A.B.C in your satellite
    assembly.

    Albert
    "Tony Tanzillo" wrote in message
    news:4934432@discussion.autodesk.com...
    Does anyone know what localizedNameId is?

    It is not the localized name of the command. So, if not,
    then what is it? Is it a resource ID ? If so, how does
    that work?

    --
    http://www.caddzone.com

    AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
    http://www.acadxtabs.com
    Please use plain text.