parameters: (seq, cls=Collection)
return_statement: return pythoncom.WrapObject(policy.DefaultPolicy(cls(seq)),
                                pythoncom.IID_IDispatch,
                                pythoncom.IID_IDispatch)
docstring: Creates a new COM collection object
  
    This function creates a new COM Server that implements the 
    common collection protocols, including enumeration. (_NewEnum)
  
    A COM server that can enumerate the passed in sequence will be
    created, then wrapped up for return through the COM framework.
    Optionally, a custom COM server for enumeration can be passed
    (the default is @Collection@).
docstring_summary: Creates a new COM collection object
docstring_tokens: Creates a new COM collection object
function: def NewCollection(seq, cls=Collection):
    """Creates a new COM collection object
  
    This function creates a new COM Server that implements the 
    common collection protocols, including enumeration. (_NewEnum)
  
    A COM server that can enumerate the passed in sequence will be
    created, then wrapped up for return through the COM framework.
    Optionally, a custom COM server for enumeration can be passed
    (the default is @Collection@).
    """
    return pythoncom.WrapObject(policy.DefaultPolicy(cls(seq)),
                                pythoncom.IID_IDispatch,
                                pythoncom.IID_IDispatch)
function_tokens: def NewCollection ( seq , cls = Collection ) : return pythoncom . WrapObject ( policy . DefaultPolicy ( cls ( seq ) ) , pythoncom . IID_IDispatch , pythoncom . IID_IDispatch )