Posted 14 years ago
by Aled Hughes
-
Principal Software Engineer,
Control Techniques Ltd.
Version: 9.2.0514
![Avatar](https://secure.gravatar.com/avatar/c2b447c7f64dc0ec988e72cfcfda958c.jpg?s=64&d=identicon&r=g)
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.