Libreria DedNetConnector
DedNetConnectorCommandsGetDataByDocument Method |
Ritorna l'elenco delle anagrafiche associate al documento.
Namespace: DedNetConnector
Assembly: DedNetConnector (in DedNetConnector.dll) Version: 23.0.0.0 (23.0.0.0)

public DedDataLight[] GetDataByDocument( string file, bool isAttachContext = false, bool showException = false )
Public Function GetDataByDocument ( file As String, Optional isAttachContext As Boolean = false, Optional showException As Boolean = false ) As DedDataLight()
public: array<DedDataLight^>^ GetDataByDocument( String^ file, bool isAttachContext = false, bool showException = false )
member GetDataByDocument : file : string * ?isAttachContext : bool * ?showException : bool (* Defaults: let _isAttachContext = defaultArg isAttachContext false let _showException = defaultArg showException false *) -> DedDataLight[]
Parameters
- file
- Type: SystemString
Percorso del documento. - isAttachContext (Optional)
- Type: SystemBoolean
Specifica se ritornare le anagrafiche in cui il documento è usato come file allegato (True) o come file primario (False); Default: False. - showException (Optional)
- Type: SystemBoolean
Indica se visualizzare eventuali eccezioni all'interno di un apposito dialogo; Default: False.
Return Value
Type: DedDataLightTipo: 'DedNetConnector.DedDataLight[]'; Ritorna un array con le anagrafiche trovate, nel caso non ve ne siano ritorna un array con 0 elementi.
