VSNDK.DebugEngine.AD7StackFrame.CreateParameterProperties C# (CSharp) Method

CreateParameterProperties() private method

Construct an instance of IEnumDebugPropertyInfo2 for the parameters collection only.
private CreateParameterProperties ( enum_DEBUGPROP_INFO_FLAGS dwFields, uint &elementsReturned, IEnumDebugPropertyInfo2 &enumObject ) : void
dwFields enum_DEBUGPROP_INFO_FLAGS A combination of flags from the DEBUGPROP_INFO_FLAGS enumeration that specifies which fields in /// the enumObject are to be filled in.
elementsReturned uint Returns the number of elements in the enumeration.
enumObject IEnumDebugPropertyInfo2 Returns an IEnumDebugPropertyInfo2 object containing a list of the desired properties.
return void
        private void CreateParameterProperties(enum_DEBUGPROP_INFO_FLAGS dwFields, out uint elementsReturned, out IEnumDebugPropertyInfo2 enumObject)
        {
            elementsReturned = (uint)_arguments.Count;
            DEBUG_PROPERTY_INFO[] propInfo = new DEBUG_PROPERTY_INFO[_arguments.Count];

            int i = 0;
            foreach (VariableInfo arg in _arguments)
            {
                AD7Property property = new AD7Property(arg);
                propInfo[i] = property.ConstructDebugPropertyInfo(dwFields);
                i++;
            }

            enumObject = new AD7PropertyInfoEnum(propInfo);
        }