public void SetName( PagePropertyList pNameParts )
public: void SetName( PagePropertyList^ pNameParts )
Parameters
- pNameParts
- New name for the page
public void SetName( PagePropertyList pNameParts )
public: void SetName( PagePropertyList^ pNameParts )
| Exception | Description | 
|---|---|
| Eplan.EplApi.Base.BaseException | Cannot set name of the page | 
| System.ArgumentNullException | Thrown
                                                  when pNamePartsisnull. | 
| NameConflictException | Thrown
                                                                        when
                                                                        page
                                                                        with 
                                                                        pNameParts
                                                                        name
                                                                        already
                                                                        exists
                                                                        in
                                                                        pProject
                                                                        . | 
| InvalidPageNameException_IncorrectParts | Thrown
                                              when
                                              entries
                                              in 
                                              pNameParts
                                              contain
                                              invalid
                                              tag
                                              values. | 
PagePropertyList pagePropList = new PagePropertyList(); pagePropList.DESIGNATION_PLANT = "API_Test"; pagePropList.DESIGNATION_LOCATION = "New_Schematic"; pagePropList.PAGE_COUNTER = 002; page.SetName(pagePropList);