System.Diagnostics.SwitchElement.ResetProperties C# (CSharp) Method

ResetProperties() private method

private ResetProperties ( ) : void
return void
        internal void ResetProperties() 
        {
            // blow away any UnrecognizedAttributes that we have deserialized earlier 
            if (_attributes != null) {
                _attributes.Clear();
                _properties.Clear();
                _properties.Add(_propName);
                _properties.Add(_propValue);
            }
        }
    }