Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hallo,
i am trying to set an attribute on a DesignViewRepresentation object.
here my code:
var v = representationsManager.DesignViewRepresentations[3];
v.AttributeSets.Add("21212");
but this fails with
System.Runtime.InteropServices.COMException: 'Unbekannter Fehler (Exception from HRESULT: 0x80004005 (E_FAIL))'
in the documentation DesignViewRepresentation.AttributeSets there is no infromation that it is not implemented.
Maybe any one know what i am doing wrong ?
thanks in advance
Solved! Go to Solution.