Gets a named detail collection.
| C# | Visual Basic | Visual C++ |
public virtual DetailCollection GetDetailCollection( string collectionName, bool createWhenEmpty )
Public Overridable Function GetDetailCollection ( _ collectionName As String, _ createWhenEmpty As Boolean _ ) As DetailCollection
public: virtual DetailCollection^ GetDetailCollection ( String^ collectionName, bool createWhenEmpty )
A new or existing detail collection or null if the createWhenEmpty parameter is false and no collection with the given name exists..