Am 14.06.2011 um 14:13 schrieb Arnaud Nicolet:

> Ah yes, indeed. Thank you.
> I'm sometimes wondering whether it would be a good idea to add a very  
> small example or note to classes belonging to other classes (like the  
> AliasInfoMBS belongs to the FolderItem class) to inform that the class  
> can be obtained from the other (thus being not needed to check the  
> other one (e.g folderitem), so we'd not miss it when we check the  
> "sub" class).

I'll add an example. Like this one:

  // select an alias file. use TrueChild so it's not resolved
  dim f as FolderItem = SpecialFolder.Desktop.TrueChild("Development")
  
  // get alias info
  dim a as AliasInfoMBS = f.AliasInfoMBS
  
  // show info
  MsgBox "alias points to "+a.TargetName+" in path "+a.PathString+" of volume 
"+a.VolumeName

Greetings
Christian

-- 
Read our blog about news on our plugins:

http://www.mbsplugins.de/

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to