    

 ## On this page

  

 

 # setMemberFromString

 Last update: 16.07.2025 

public [setMemberFromString](set-member-from-string.md)(mIndex: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), value: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), type: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html))

sets the value of a member. A new member will be create if the member does not exist or the current type is not the same as the type specified.

#### Parameters

mIndexmember indexvaluethe value of the membertypetype of the member#### Throws

[ModelCenterException](../-model-center-exception/index.md)