Posted 15 years ago
by Aled Hughes
-
Principal Software Engineer,
Control Techniques Ltd.
Version: 9.2.0514
Hi,
On the DocumentWindow class constructor we have a "Name" parameter which I was trying to set to a string representation of a Guid but this throws an exception. I couldn't see anywhere where this parameter is detailed so what limits are imposed on it? Seems odd that I can't just set it to something like a Guid. Also, I did stumble upon a comment in the docs that Name is used for layout serialisation, but is there anything else it's used for?
Thanks.
On the DocumentWindow class constructor we have a "Name" parameter which I was trying to set to a string representation of a Guid but this throws an exception. I couldn't see anywhere where this parameter is detailed so what limits are imposed on it? Seems odd that I can't just set it to something like a Guid. Also, I did stumble upon a comment in the docs that Name is used for layout serialisation, but is there anything else it's used for?
Thanks.